[jboss-jira] [JBoss JIRA] Created: (JBAS-8162) Failed to encode/decode password with name "pinaki" using SecureIdentityLoginModule

Ravi Sankar (JIRA) jira-events at lists.jboss.org
Fri Jul 9 08:14:46 EDT 2010


Failed to encode/decode password with name "pinaki" using SecureIdentityLoginModule
-----------------------------------------------------------------------------------

                 Key: JBAS-8162
                 URL: https://jira.jboss.org/browse/JBAS-8162
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JCA service
    Affects Versions: JBossAS-4.2.3.GA
         Environment: Any Operating system
            Reporter: Ravi Sankar
            Assignee: Jesper Pedersen


When trying to ecode/decode a password with characters "pinaki" using "SecureIdentityLoginModule" from JBOSS-JCA.JAR, i am getting the following excpetion.
One of our customers are using this as a password.

Password After encrption: "-4fb8f7c76b11ab"

Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
	at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
	at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
	at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA13*..)
	at javax.crypto.Cipher.doFinal(DashoA13*..)
	at SecureIdentityLoginModule.decode(SecureIdentityLoginModule.java:39)
	at SecureIdentityLoginModule.main(SecureIdentityLoginModule.java:48)

Please help me to get this issue resolved. Customer is behind me.

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

        


More information about the jboss-jira mailing list