Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7094

JaasSecurityDomain fails to decrypt some PBE passwords

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.M1
    • JBossAS-5.1.0.GA
    • Security
    • None

    Description

      Certain passwords when encrypted with PBE result in a String with leading zeros. These leading zeros are not printed with the String so decrypting the password fails because of invalid number of bytes. An exception is thrown:

      javax.crypto.IllegalBlockSizeException: Input length (with padding) not multiple of 8 bytes

      Attachments

        Issue Links

          Activity

            People

              mmoyses Marcus Moyses (Inactive)
              mmoyses Marcus Moyses (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: