Dear Kevin,

Am 01.07.2026 schrieb Kevin J. McCarthy:
> > How can I see the id of a key used to sign a message in mutt?
> 
> This was also left out of the GPGME code.  I'm not sure why, but I'll add a
> TODO to put it into the signature block, if GPGME makes it available.

Thank you. As you've probably seen, I've submitted a patch to output the
keyid to mutt-devel. In gpgsm, the uid (subject) from gpgme_user_id_t is
not just printed but more readable information is extracted using
gpgsm_es_print_name.² I am sceptical whether it makes sense to re-use
that quite complex code. The key id itself is printed here:

log_info (_("               using %s key %s\n"), pkalgostr, pkfpr);

where pkalgostr and pkfpr are extracted using (again) quite elaborate
functions. So my brief patch might be enough for now (at least for me
;-).


Best,
Robert 


¹ 
https://www.gnupg.org/documentation/manuals/gpgme/Key-objects.html#index-gpgme_005fuser_005fid_005ft
² https://github.com/gpg/gnupg/blob/master/sm/verify.c#L715C11-L715C30
³ https://github.com/gpg/gnupg/blob/master/sm/verify.c#L481

Attachment: signature.asc
Description: PGP signature

Reply via email to