#3695: OpenPGP: use fingerprint instead of key ID
---------------------+-----------------------------------------------------
Reporter: ilf | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: crypto | Version: 1.5.23
Resolution: | Keywords: OpenPGP, PGP, GnuPG, fingerprint, keyid
---------------------+-----------------------------------------------------
Comment (by Kevin McCarthy <kevin@…>):
In [d12cb775b779fd40afc7cfd68be6976b833f29c8]:
{{{
#!CommitTicketReference repository=""
revision="d12cb775b779fd40afc7cfd68be6976b833f29c8"
Use fingerprints instead of keyIDs internally. (see #3695)
Add a helper function, pgp_fpr_or_lkeyid(), that returns the fingerprint
if available, otherwise falls back to the long key id. Convert Mutt to
use that value for pgp command invocation.
Change gpgme to use an equivalent crypt_fpr_or_lkeyid() function in a
couple places too (for keylist generation and sign-as key selection).
Update documentation to mention fingerprints and the --with-fingerprint
option for gpg invocation.
Change pgp_long_ids to default: yes, but add a note mentioning
it's only used for the display of key IDs in a few places.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3695#comment:7>
Mutt <http://www.mutt.org/>
The Mutt mail user agent