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

Marcus Moyses (JIRA) jira-events at lists.jboss.org
Fri Feb 4 07:32:39 EST 2011


     [ https://issues.jboss.org/browse/SECURITY-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Moyses reassigned SECURITY-563:
--------------------------------------

    Assignee: Marcus Moyses  (was: Anil Saldhana)


> 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: Marcus Moyses
>
> 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