Bug 43964

Summary: version 1.4.0 : wrong xmlns in function XENCEncryptionMethodImpl::setDigestMethod
Product: Security - Now in JIRA Reporter: Jerome Clavieras <jerome.clavieras>
Component: C++ SignatureAssignee: XML Security Developers Mailing List <security-dev>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PatchAvailable
Priority: P1    
Version: C++ 1.5.1   
Target Milestone: ---   
Hardware: All   
OS: All   

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.