xml-crypto icon indicating copy to clipboard operation
xml-crypto copied to clipboard

Custom reference.uri is not honored by SignedXml.prototype.createReferences

Open ergoithz opened this issue 8 years ago • 1 comments

Currently there is no way to customize the reference URI, even if SignedXml.prototype.addReference accepts it as argument, because is always overwritten by xpath id attribute.

https://github.com/yaronn/xml-crypto/blob/6e22854b1aeb4e59bd482a185826361a39872704/lib/signed-xml.js#L584

https://github.com/yaronn/xml-crypto/blob/6e22854b1aeb4e59bd482a185826361a39872704/lib/signed-xml.js#L443

ergoithz avatar Oct 04 '17 13:10 ergoithz

@ergoithz , we'd welcome a PR with a test suite to address this limitation in xml-crypto. Would you consider contributing to the community to address this weakness?

cjbarth avatar May 29 '23 21:05 cjbarth