Bug 47459 - c14n11 does include parent xml:id attributes in encrypted data
Summary: c14n11 does include parent xml:id attributes in encrypted data
Status: NEW
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: Canonicalization (show other bugs)
Version: Java 1.4.2
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: XML Security Developers Mailing List
Keywords: RFC
: 57030 (view as bug list)
Depends on:
Blocks: 57030
  Show dependency tree
Reported: 2009-06-30 06:22 UTC by sstaible
Modified: 2014-09-28 13:18 UTC (History)
1 user (show)

debug log (19.64 KB, text/plain)
2009-06-30 06:22 UTC, sstaible
Testcase (4.10 KB, text/plain)
2009-07-01 10:34 UTC, sstaible
debug log of test case (17.57 KB, text/plain)
2009-07-01 10:35 UTC, sstaible

Note You need to log in before you can comment on or make changes to this bug.
Description sstaible 2009-06-30 06:22:27 UTC
Created attachment 23913 [details]
debug log

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


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">

encrypt/decrypt using c14n11 creates the following:

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

See also attached debug log.
Comment 1 coheigea 2009-07-01 04:08:07 UTC
Can you provide a test-case?

Comment 2 sstaible 2009-07-01 10:34:06 UTC
Created attachment 23917 [details]
Comment 3 sstaible 2009-07-01 10:35:38 UTC
Created attachment 23918 [details]
debug log of test case
Comment 4 Chuck Caldarale 2014-09-28 13:18:13 UTC
*** Bug 57030 has been marked as a duplicate of this bug. ***