You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation: To specify this value separately for reference canonicalizaition, pass a list of one or more [SignatureReference](https://xml-security.github.io/signxml/#signxml.SignatureReference) objects as the reference_uri keyword argument, and set the inclusive_ns_prefixes attribute on those objects.
needs to be changed to new_references.append(SignatureReference(URI=uri, c14n_method=reference.c14n_method, inclusive_ns_prefixes=reference.inclusive_ns_prefixes))
The text was updated successfully, but these errors were encountered:
According to the documentation:
To specify this value separately for reference canonicalizaition, pass a list of one or more [SignatureReference](https://xml-security.github.io/signxml/#signxml.SignatureReference) objects as the reference_uri keyword argument, and set the inclusive_ns_prefixes attribute on those objects.
This does not seem to be working.
Changing the following line seems to fix this.
signxml/signxml/signer.py
Line 322 in 5e0cc15
needs to be changed to
new_references.append(SignatureReference(URI=uri, c14n_method=reference.c14n_method, inclusive_ns_prefixes=reference.inclusive_ns_prefixes))
The text was updated successfully, but these errors were encountered: