Home GnuPG
Diffusion GnuPG 91a6ba32347a

gpg: Avoid printing false AKL error message.

Description

gpg: Avoid printing false AKL error message.

* g10/getkey.c (get_pubkey_byname): Add special traeatment for default
and skipped-local.

This change avoids error message like

gpg: error retrieving 'foo@example.org' via None: No public key

A 'None' mechanism is something internal.

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

Details

Provenance
wernerAuthored on Jul 4 2019, 3:21 PM
Parents
rGd00c8024e588: gpg: New command --locate-external-key.
Branches
Unknown
Tags
Unknown