Summary: | c14n11 does include parent xml:id attributes in encrypted data | ||
---|---|---|---|
Product: | Security - Now in JIRA | Reporter: | sstaible <staible> |
Component: | Canonicalization | Assignee: | XML Security Developers Mailing List <security-dev> |
Status: | NEW --- | ||
Severity: | normal | CC: | premieragent |
Priority: | P2 | Keywords: | RFC |
Version: | Java 1.4.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 57030 | ||
Attachments: |
debug log
Testcase debug log of test case |
Can you provide a test-case? Colm. Created attachment 23917 [details]
Testcase
Created attachment 23918 [details]
debug log of test case
|
Created attachment 23913 [details] debug log 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.