Diffusion GnuPG b6d89d1944c5

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

Authored by dkg on Feb 26 2020, 6:53 PM.

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>