santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40298] New: - XMLCipherTester.testSameDocumentCipherReference test fails (regression)
Date Tue, 22 Aug 2006 19:18:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40298

           Summary: XMLCipherTester.testSameDocumentCipherReference test
                    fails (regression)
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: sean.mullan@sun.com


The
org.apache.xml.security.test.encryption.XMLCipherTester.testSameDocumentCipherReference
fails in 1.4 beta2 (but not in 1.3):

Input length must be multiple of 16 when decrypting with padded cipher

org.apache.xml.security.encryption.XMLEncryptionException: Input length must be
multiple of 16 when decrypting with padded cipher
Original Exception was javax.crypto.IllegalBlockSizeException: Input length must
be multiple of 16 when decrypting with padded cipher
at
org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1544)
at
org.apache.xml.security.test.encryption.XMLCipherTester.testSameDocumentCipherReference(XMLCipherTester.java:656)
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when
decrypting with padded cipher
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA12275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at
org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1540)
at
org.apache.xml.security.test.encryption.XMLCipherTester.testSameDocumentCipherReference(XMLCipherTester.java:656)

After investigating this some more, the cause of this problem is that the
Transforms element of the EncryptedData element is marshalled in the dsig
namespace instead of the xenc namespace.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message