Home GnuPG
Diffusion GnuPG e9c16fee2576

gpg: When comparing keyids, use the keyid, not the fingerprint's suffix.
e9c16fee2576Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: When comparing keyids, use the keyid, not the fingerprint's suffix.

* g10/keyedit.c (menu_select_key): Use spacep and hexdigitp instead of
inline tests.  Don't compare P to the suffix of the fingerprint.  If P
appears to be a keyid, do an exact compare against the keyid.  If it
appears to be a fingerprint, do an exact compare against the
fingerprint.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 24 2015, 1:03 PM
Parents
rG19362a8dd7ee: gpg: Reflow long texts.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGe9c16fee2576: gpg: When comparing keyids, use the keyid, not the fingerprint's suffix. (authored by Neal H. Walfield <neal@g10code.com>).Nov 24 2015, 1:03 PM