[jboss-jira] [JBoss JIRA] Created: (JBAS-7094) JaasSecurityDomain fails to decrypt some PBE passwords

Marcus Moyses (JIRA) jira-events at lists.jboss.org
Fri Jul 10 10:52:29 EDT 2009


JaasSecurityDomain fails to decrypt some PBE passwords
------------------------------------------------------

                 Key: JBAS-7094
                 URL: https://jira.jboss.org/jira/browse/JBAS-7094
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Security
    Affects Versions: JBossAS-5.1.0.GA
            Reporter: Marcus Moyses
            Assignee: Marcus Moyses
             Fix For: JBossAS-5.2.0.Beta1


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list