go-xmlsec icon indicating copy to clipboard operation
go-xmlsec copied to clipboard

Verify, xmlsec1 says 'OK', but go-xmlsec/examples says 'signature is not correct'

Open qbengt opened this issue 8 years ago • 0 comments

Greetings,

Under what circumstances will xmlsec1 and go-xmlsec arrive at different verdicts for verify?

Probably handling go-xmlsec the wrong way, so I need some guidance. Data files: bidt-root.pem.txt test_signature.xml.txt

$ xmlsec1 --verify --trusted-pem bidt-root.pem test_signature.xml OK SignedInfo References (ok/all): 2/2 Manifests References (ok/all): 0/0

$ ./examples -v -k bidt-root.pem < test_signature.xml signature is not correct

qbengt avatar May 23 '17 13:05 qbengt