Skip to content

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

@qbengt

Description

@qbengt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions