Signature Validation failed

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
MikeMM
Posts: 1
Joined: Wed Jan 30, 2019 4:55 pm

Signature Validation failed

Post by MikeMM » Wed Jan 30, 2019 5:04 pm

Hi,

if i sign an element in example file "personal.xml", such "robert.taylor" a signer info will be inserted in the current xml file. Thats ok. But after that if i change the content of the element "robert.taylor", the signature validation dialog shows me a correct signature. I think this is wrong :x, because i changed the content of the signed element. So the resulting hash value from this element may no longer match the decrypted hash value from the signature.

P.S. in element "robert.taylor" i changed the name "robert" in element "given" to "roberto".

Thanks.

Mike

tavy
Posts: 193
Joined: Thu Jul 01, 2004 12:29 pm

Re: Signature Validation failed

Post by tavy » Fri Feb 01, 2019 11:13 am

Hello Mike,

I cannot reproduce the problem. Maybe you can give me more details about your signing options and Oxygen version.
I signed the "robert.taylor" element from "personal.xml" using the following options: Transformation=none, id='robert.taylor', Envelope, Append KeyInfo check, Signature algorithm="RSA with SHA1".
I tested with <oXygen/> XML Editor 20.1, build 2018101517. The keystore type for my certificate is JKS.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply