Skip to content

Verify enveloped XML signatures on Win32 (OpenSSL) #524

Answered by lsh123
oblaser asked this question in Q&A
Discussion options

You must be logged in to vote

First, the Windows binaries on www.zlatkovic.com are very old. I would not recommend to use those.

I always start from trying out the xmlsec1 command line utility:

$ xmlsec1 verify --pubkey-pem /tmp/rsapub.pem /tmp/xml-01_signed.xml 
OK
SignedInfo References (ok/all): 1/1
Manifests References (ok/all): 0/0

I also just tried the examples/verify1.c example as-is without any modifications and worked as well:

$ ./verify1 /tmp/build-openssl/xml-01_signed.xml  /tmp/build-openssl/rsapub.pem 
Signature is OK

Both of the above are using the latest released version on my Ubuntu (xmlsec 1.2.34 is a couple years old):

$ xmlsec1 --version
xmlsec1 1.2.34 (openssl)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lsh123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants