Skip to content
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

support empty reference URI for enveloped signature #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thanks173
Copy link

Signed XML is verified by my partner and they require empty URI or signature verification fails. The structure is strict and I can't even add the ID attribute.

https://www.w3.org/TR/xmldsig-core/#sec-URI says

If the URI attribute is omitted altogether, the receiving application is expected to know the identity of the object.

I think we should allow empty URI for enveloped signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant