Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8162

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • No Release
    • JBossAS-4.2.3.GA
    • JCA service
    • None

    Description

      When trying to encode/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. I am not getting this exception for any other passwords except "pinaki"

      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.

      Attachments

        Activity

          People

            jpederse@redhat.com Jesper Pedersen
            ravisv_jira Ravi Sankar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified