[jboss-jira] [JBoss JIRA] Created: (SECURITY-563) Exception javax.crypto.BadPaddingException: Given final block not properly padded thrown when decrypting

Tom Ross (JIRA) jira-events at lists.jboss.org
Fri Feb 4 04:34:39 EST 2011


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

                 Key: SECURITY-563
                 URL: https://issues.jboss.org/browse/SECURITY-563
             Project: PicketBox (JBoss Security and Identity Management)
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JBossSX
    Affects Versions: JBossSecurity_2.0.4.SP6
         Environment: JBoss EAP 5.1
            Reporter: Tom Ross
            Assignee: Anil Saldhana


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.
 


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list