-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem signing XML with namespaces #264
Comments
They're both invalid when I try and verify the above. It's not adding a proper reference URI, so the validator-tool will be unable to know what to verify |
Output of both example in attachment. Example 2 output is "Signature Verified". Empty reference URI should be OK since the correct examples of what we are building also have an empty reference URI: http://b-7ded761b0d6131bbb582adc71de89513.iso6523-actorid-upis.edelivery.tech.ec.europa.eu/iso6523-actorid-upis%3A%3A9925%3Abe0714992641/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3AApplicationResponse-2%3A%3AApplicationResponse%23%23urn%3Afdc%3Apeppol.eu%3Apoacc%3Atrns%3Amlr%3A3%3A%3A2.1 |
We were able to fix the issue by replacing:
With
|
We are having an issue signing XML with namespaces. Simplified code example:
Gives an invalid signature. ( Tool used to check: https://tools.chilkat.io/xmlDsigVerify.cshtml )
Changing the xml input to input without namespaces works:
The text was updated successfully, but these errors were encountered: