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

Problem with XML Sign with certificate ECDSA SHA256 #339

Open
andreadragotta opened this issue Feb 2, 2025 · 1 comment
Open

Problem with XML Sign with certificate ECDSA SHA256 #339

andreadragotta opened this issue Feb 2, 2025 · 1 comment

Comments

@andreadragotta
Copy link

Hi,

when i try to sign my XML file with a certificate ECDSA i receive a SignatureValue like this:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZziMuiM4XN8cux4+VMDah
qx8FNZdTglxzWwWxnZPDGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
XLSfOo5ZV0dl8p7AqxVFlMA3SOCBJ9SjqSUeBR7P0N8=

Compared to other signature value created used the same cert but using different system is completely different and when i try to verify the singed XML i receive an error.

I've to change something or is present any bug for this signing method?

Thank you in advance

@andreadragotta
Copy link
Author

I add some other infos.

When i try to sign with xmlsec1 via shell it works, on python i have this problem.

I don't know if depends on any python dependencies.

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

No branches or pull requests

1 participant