Diffusion GnuPG 59d49e4a0ac2

gpg: Fix output of --with-secret if a pattern is given.

Authored by werner on Dec 23 2019, 12:39 PM.

Description

gpg: Fix output of --with-secret if a pattern is given.

* g10/keylist.c (list_one): Probe for a secret key in --with-secret
mode.

In contrast to list_all(), list_one() did not tests for a secret key
and took MARK_TRUSTED verbatim as an indication for "secret key
available".

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

Details

Committed
wernerDec 23 2019, 12:40 PM
Parents
rGcc531cc21034: doc: Typ fix in comment
Branches
Unknown
Tags
Unknown