Problem with verifying signatures in GPGME

Fabio d'ORTOLI-GALERNEAU fabio.d.ortoli-galerneau at ens.fr
Fri Apr 3 16:14:49 CEST 2026


Hello,

Retrying to send this as a list subscriber this time, hoping it gets 
somewhere.

I'm having a problem with a C++ code using GPGME and I was advised to 
ask about my problem here.

The program is supposed to verify some signatures inputed in it. 
Basically it works for keys generated with my computer but not for some 
reason on ones that are not (it returns a 0 summary), even if I tell it 
to ignore the trust database or to use tofu or whatever trust model. I 
have tested on two computer and for each the program runs as intended 
with a key generated on said computer, but not with the key generated by 
the other computer.

I provided attached a toy version of the code that breaks, can you see 
anything wrong in it or is the problem somewhere else ?

Best regards,

Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++
Size: 2285 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260403/df2c7fa9/attachment.bin>


More information about the Gnupg-devel mailing list