From wiktor at metacode.biz Tue Sep 3 18:45:40 2024 From: wiktor at metacode.biz (Wiktor Kwapisiewicz) Date: Tue, 3 Sep 2024 18:45:40 +0200 Subject: Question about "gpgme_op_verify" and registering a known notation Message-ID: Hello, I'm writing a signature verifier which uses gpgme (specifically "gpgme_op_verify") and I'm looking for a way to register a notation name as "known" (basically what GnuPG exposes through "--known-notation" described here [0]) so that signatures bearing that notation with the critical bit set would pass the verification check. I've spent some time browsing through the docs and the source code but couldn't find the appropriate function. Is this feature already exposed through gpgme? Thanks for your help and time! Kind regards, Wiktor [0]: https://gnupg.org/documentation/manuals/gnupg/GPG-Esoteric-Options.html From wk at gnupg.org Wed Sep 4 11:15:14 2024 From: wk at gnupg.org (Werner Koch) Date: Wed, 04 Sep 2024 11:15:14 +0200 Subject: Question about "gpgme_op_verify" and registering a known notation In-Reply-To: (Wiktor Kwapisiewicz via Gnupg-devel's message of "Tue, 3 Sep 2024 18:45:40 +0200") References: Message-ID: <878qw7eq59.fsf@jacob.g10code.de> Hi! On Tue, 3 Sep 2024 18:45, Wiktor Kwapisiewicz said: > I've spent some time browsing through the docs and the source code but > couldn't find the appropriate function. Is this feature already > exposed through gpgme? Unfortunately this is not yet possible with gpgme. I re-opened your old ticket which was used to implement known-notation: https://dev.gnupg.org/T4060 For now I can only suggest to put this into the gpg.conf. Anopther option for gpgme might be to let gpg ignore all criticila notations and rely on the caller of gpgme to imeplement dedicated checks. Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: openpgp-digital-signature.asc Type: application/pgp-signature Size: 247 bytes Desc: not available URL: From sebastien at twolife.be Fri Sep 6 16:28:24 2024 From: sebastien at twolife.be (=?UTF-8?Q?S=C3=A9bastien_Noel?=) Date: Fri, 06 Sep 2024 16:28:24 +0200 Subject: submission of a manpage for gpgme-json Message-ID: <6edb3379f6e2e64fb35e4f1ff7cfacb1@twolife.be> Hello, I'm posting this directly here as account creation is disabled on dev.gnupg.org. In Debian we like to have a manpage for every binary in $PATH, so we wrote one for gpgme-json. I don't know if you are interested by having it upstream, but here it is in attachement. best regards, S?bastien -------------- next part -------------- A non-text attachment was scrubbed... Name: build-system.diff Type: text/x-diff Size: 1990 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gpgme-json.texi Type: text/troff Size: 1622 bytes Desc: not available URL: