Bug 57030

Summary: c14n11 does include parent xml:id attributes in encrypted data
Product: Tomcat Modules Reporter: pmaccess <premieragent>
Component: Tomcat LiteAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: normal CC: staible
Priority: P2 Keywords: RFC
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on: 47459    
Bug Blocks:    

Description pmaccess 2014-09-28 09:10:48 UTC
+++ This bug was initially created as a clone of Bug #47459 +++

xml:id attributes are still not correctly handled when using c14n11 for encryption.

Example:

When I encrypt the <data> element in the following xml document, the xml:id attribute is added to the canonical form of the data tag during encryption.

<?xml version="1.0" encoding="UTF-8"?><test xml:id="ref1234">
  <data>12345678</data>
</test>

encrypt/decrypt using c14n11 creates the following:

<?xml version="1.0" encoding="UTF-8"?><test xml:id="ref1234">
  <data xml:id="ref1234">12345678</data>
</test>

See also attached debug log.
Comment 1 Chuck Caldarale 2014-09-28 13:18:13 UTC
Bugzilla is not a playground.

*** This bug has been marked as a duplicate of bug 47459 ***