Bug 57030 - c14n11 does include parent xml:id attributes in encrypted data
Summary: c14n11 does include parent xml:id attributes in encrypted data
Status: RESOLVED DUPLICATE of bug 47459
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: Tomcat Lite (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords: RFC
Depends on: 47459
Blocks:
  Show dependency tree
 
Reported: 2014-09-28 09:10 UTC by pmaccess
Modified: 2014-09-28 13:18 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***