You are not logged in.
Pages: 1
Hello,
I created a file signature with ECC command line utility following the example in documentation :
https://synopse.info/files/html/Synopse … #TITLE_588
Then I opened the .sign file and modified the first char of md5 and sha256 values.
When I check file signature ECC tell signature is valid.
But I was expecting a result: invalid signature
As documentation says : "Note that you can add whatever JSON field you need to any .sign file, especially in the "meta": nested object, as soon as you don't modify the size/md5/sha256/sign values."
Am I wrong ?
Thank you
--- update ---
The ECCCommandVerifyFile command use TECCSignatureCertified.CreateFromFile which only use the "sign" field of a JSON ".sign" file.
This "sign" field calculation is based on SHA256 of the file.
So other fields in the JSON ".sign" file are present for information only.
Last edited by MC (2019-09-13 12:23:16)
Offline
Pages: 1