Problem with verifying signatures in GPGME
Robert J. Hansen
rjh at sixdemonbag.org
Fri Apr 3 19:03:16 CEST 2026
> I provided attached a toy version of the code that breaks, can you see
> anything wrong in it or is the problem somewhere else ?
As a fellow C++ nerd, I highly recommend using GPGMEPP, not GPGME. It'll
make your life a lot easier.
I have a not-quite-toy example of GPGMEPP up on GitHub:
https://github.com/rjhansen/egon
It does nothing except pull down Proton Mail keys from their web API and
import them into GnuPG. As others have pointed out, there are better
ways to do this, so I don't recommend using this tool for that purpose:
but as a minimalist app to get someone started with the C++ bindings for
GPGME, it might be useful to you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260403/8c295f3f/attachment.sig>
More information about the Gnupg-devel
mailing list