Verifying signatures with critical notations

Wiktor Kwapisiewicz wiktor at metacode.biz
Wed Jul 4 21:48:24 CEST 2018


Hello,

Is it possible to verify a signature with critical notations that I 
recognize?

I created the signature with:

   echo x | gpg --sign --sig-notation !test at metacode.biz=node-1 > f.sig

Now when I pass this file to gpgme_op_verify I get only summary 
GPGME_SIGSUM_RED and status GPG_ERR_BAD_SIGNATURE (with source GPGME).

That's obviously correct as the notation is critical and not recognized 
but I don't see a function to mark "test at metacode.biz=node-1" as a 
recognized notation for verification purposes.

Is it possible?

Thank you in advance!

Kind regards,
Wiktor

-- 
https://metacode.biz/@wiktor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180704/9bb9cac0/attachment-0001.sig>


More information about the Gnupg-users mailing list