Home GnuPG
Diffusion GnuPG b6d89d1944c5

gpg: Update --trusted-key to accept fingerprint as well as long key id.

Description

gpg: Update --trusted-key to accept fingerprint as well as long key id.

* g10/trustdb.c (tdb_register_trusted_key): accept fingerprint as well
as long key ID.
* doc/gpg.texi: document that --trusted-key can accept a fingerprint.

Fixed uses or return and kept the old string to avoid breaking
translations.

(cherry picked from commit 810ea2cc684480c6aadceb2a10dd00f3fa67f2fb)

Remove the test for FPRLEN which we do not have in 2.2

  • GnuPG-bug-id: T4855
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
dkgAuthored on Feb 26 2020, 6:53 PM
wernerCommitted on Mar 18 2020, 2:01 PM
Parents
rGe77f332b01f1: gpg: Fix key expiration and usage for keys created at the Epoch.
Branches
Unknown
Tags
Unknown
Tasks
T4855: The trusted-key option requires a long key ID and won't take a fingerprint