Replies: 3 comments 1 reply
-
Actually, I figured it out: I needed:
Result
|
Beta Was this translation helpful? Give feedback.
-
Interestingly it fails to fine the key if there are new lines in the Keyname such as:
|
Beta Was this translation helpful? Give feedback.
-
1/ yeah I think picking up an arbitrary key just because XML needs RSA and you happen to have an RSA key somewhere is not a good idea for many reasons. It was done that way because many interop tests didn't specify key name or anything else in keyinfo but it was a bad idea for real production use cases. But changing that is changing behavior in a significant way so I didn't want to do it until a major release. 2/ Spaces are significant in XML and this is why key names don't trim spaces. Same story --> should have been fixed long time ago but breaking API is bad so... I will fix it though for the upcoming release that breaks API anyway. |
Beta Was this translation helpful? Give feedback.
-
Question about verifying hmac-sha1 signed files
I am signing a xml file (with XML::Sig) and the final xml and associated keys file is below
As @lsh123 mentioned in a prior discussion I now need the --lax-key-search to verify the key
Should I be doing anything different to reference the proper key?
The keys file is: cat t/xmlsec-keys.xml
Beta Was this translation helpful? Give feedback.
All reactions