Closed nejcgorsic closed 6 months ago
I think this is the same issue as https://github.com/moov-io/signedxml/issues/46
it doesn't seems same as #46 , signedxml: unable to find Signature node
maybe move Signature to header? I am not using this package so no idea.
Can you try out https://github.com/moov-io/signedxml/pull/48 and see if that helps? They may not be related. The other issue's XML is gone, but I thought part of that issue was a root level Signature element.
Edit: Are you using this signedxml package as part of another package?
Hey @adamdecaf this PR helped with this issue. Works as intended now! Thank you. will this be merged? I am using SignedXMl as part of another package
Yea I can get it merged. Thanks I was just curious who / how people are using the library. Can you share the package or is it private?
Edit: Released in https://github.com/moov-io/signedxml/releases/tag/v1.2.0
Sorry, @adamdecaf it is private Thank you for this!
Hello everyone, joining after coming across the need for a signed XML (https://github.com/moov-io/signedxml?tab=readme-ov-file) However (i hope this is the right channel and i apologize if it is not!) I have an issue with .Sign() method. This is the XML i am sending in:
ANd i get this errror: signedxml: unable to find Signature node Not really sure what I should change? According to the docs Generating signed XML It is expected that your XML contains the Signature element with all the parameters set (except DigestValue and SignatureValue). Sorry, could not find any examples on the internet
Can Signature be on the root?