Home GnuPG
Diffusion GnuPG 810ea2cc6844

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.

  • 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, 1:50 PM
Parents
rG161a098be6f9: 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