GPGME: What does ‘0’ (zero) ‘signature.summary’ value mean?

Ingo Klöcker kloecker at kde.org
Mon Apr 15 14:00:49 CEST 2024


On Montag, 15. April 2024 06:01:21 CEST Ben Finney wrote:
> Werner Koch via Gnupg-devel <gnupg-devel at gnupg.org> writes:
> > Do you have an example?
> 
> Included in this message is a Python program ‘verify_test.py’. That
> program makes use of the ‘python-gpg’ library, the Python wrapper of
> GPGME.
> 
> The program includes inline a clear-signed message, and when run it will
> use ‘gpg.Context.verify’ to verify the message. It then reports the
> result of that call.

It would be helpful if you also gave us the public key. Because now I get
```
$ gpg --status-fd 2
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: Go ahead and type your message ...
...
[GNUPG:] NEWSIG
gpg: Signature made Mo 15 Apr 2024 01:32:13 CEST
gpg:                using RSA key 6159E0F29E2FA412E0795C73F9B46AAC84420C82
[GNUPG:] ERRSIG F9B46AAC84420C82 1 8 01 1713137533 9 
6159E0F29E2FA412E0795C73F9B46AAC84420C82
[GNUPG:] NO_PUBKEY F9B46AAC84420C82
gpg: Can't check signature: No public key
```

Please also provide the output you get when you run `gpg --status-fd 2` on the 
message.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20240415/4c5f11de/attachment.sig>


More information about the Gnupg-devel mailing list