]
Marcus Moyses resolved JBAS-7094.
---------------------------------
Resolution: Done
Fixed leading zeros problem.
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: