Bug 43964 - version 1.4.0 : wrong xmlns in function XENCEncryptionMethodImpl::setDigestMethod
Summary: version 1.4.0 : wrong xmlns in function XENCEncryptionMethodImpl::setDigestM...
Status: RESOLVED FIXED
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: C++ Signature (show other bugs)
Version: C++ 1.5.1
Hardware: All All
: P1 blocker
Target Milestone: ---
Assignee: XML Security Developers Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2007-11-26 08:47 UTC by Jerome Clavieras
Modified: 2010-10-25 20:54 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Clavieras 2007-11-26 08:47:56 UTC
DigestMethod element is not described in http://www.w3.org/2001/04/xmlenc# but
in http://www.w3.org/2000/09/xmldsig#

shouldn't code on line 337 of file XENCEncryptionMethodImpl.cpp 

e->setAttributeNS(DSIGConstants::s_unicodeStrURIXMLNS,					         
str.rawXMLChBuffer(),
          DSIGConstants::s_unicodeStrURIXENC);

be replaced by this one

e->setAttributeNS(DSIGConstants::s_unicodeStrURIXMLNS,					         
str.rawXMLChBuffer(),
          DSIGConstants::s_unicodeStrURIDSIG);

Thank you in advance for your (quick) answer about what seems to be a bug to me
and once  corrected allows interoperability with xmlsec library.

Jerome
Comment 1 Scott Cantor 2010-10-25 20:54:23 UTC
This fell through the cracks somewhere, fixed in rev. 1027328.