PeculiarVentures / xmldsigjs

XMLDSIGjs provides an implementation of XMLDSIG in Typescript/Javascript based on WebCrypto
MIT License
44 stars 29 forks source link

Wrong result for REC-xml-c14n-20010315 #11

Open microshine opened 6 years ago

microshine commented 6 years ago

Microsoft SignedXml has success on signature verification

xmldsigjs has incorrect implementation of XmlCanonicalizer for http://www.w3.org/TR/2001/REC-xml-c14n-20010315 algorithm

Microsoft SignedXml

<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />

xmldsigjs

<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod>
rkaw92 commented 4 years ago

@microshine Hey, this is fixed and released, right?