Home GnuPG
Diffusion GnuPG b509d81cab03

gpg: Workaround for junk after --trusted-key.

Description

gpg: Workaround for junk after --trusted-key.

* g10/trust.c (register_trusted_key): Cut off everthing starting as a
hash sign.

This problem is fallout from
commit f99830b72812395da5451152bdd2f2d90a7cb7fb
which fixes

The same could happen with other options taking keyids but we won't
change that because a trailing '#' does not indicate a comment. So
this is really only a workaround and eventually we will
deprecate --trusted-key anyway or require a fingerprint as a value.

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

Details

Provenance
wernerAuthored on Sep 28 2017, 2:10 PM
Parents
rGe725c4d65335: doc: Make --check-sigs more prominent.
Branches
Unknown
Tags
Unknown
Tasks
T1206: no check for non spaces behind a keyid