Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-563

Exception javax.crypto.BadPaddingException: Given final block not properly padded thrown when decrypting

    XMLWordPrintable

Details

    Description

      Exception "javax.crypto.BadPaddingException: Given final block not properly padded" is thrown when trying to decrypt a password like "dv". It looks like decrypt() method can not handle passwords that have been encrypted with "-" in front. "dv" is encrypted as -7f16992f0aa153.

      Attachments

        Activity

          People

            mmoyses Marcus Moyses (Inactive)
            rhn-support-toross Tom Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: