List Info

Thread: DO NOT REPLY New: - XMLCipherTester.testSameDocumentCipherReference test fails (regressi




DO NOT REPLY New: - XMLCipherTester.testSameDocumentCipherRe ference test fails (regressi
user name
2006-08-22 19:18:29
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=40
298>.
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-devxml.apache.org
        ReportedBy: sean.mullansun.com


The
org.apache.xml.security.test.encryption.XMLCipherTester.test
SameDocumentCipherReference
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.decryptToByteAr
ray(XMLCipher.java:1544)
at
org.apache.xml.security.test.encryption.XMLCipherTester.test
SameDocumentCipherReference(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.decryptToByteAr
ray(XMLCipher.java:1540)
at
org.apache.xml.security.test.encryption.XMLCipherTester.test
SameDocumentCipherReference(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=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.
DO NOT REPLY - XMLCipherTester.testSameDocumentCipherRe ference test fails (regression)
country flaguser name
United States
2007-09-19 14:14:49
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=40
298>.
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


sean.mullansun.com changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From sean.mullansun.com 
2007-09-19 12:14 -------
Closing old bugs. Fixed in 1.4.1

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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )