Home GnuPG
Diffusion GnuPG 4cbd058a3da9

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.

(cherry picked from commit 91a6ba32347a21c9029728eec96b8ff80f944629)

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

Details

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