Home GnuPG
Diffusion GnuPG d9ea47f70284

agent: Fix regression with --newsymkey in loopback mode.

Description

agent: Fix regression with --newsymkey in loopback mode.

* agent/command.c (cmd_get_passphrase): Never repeat in loopback mode;
same as with !OPT_NEWSYMKEY.

In loopback mode there shall not be any repeat because the caller is
expected to do any confirmation before passing a new passphrase to
gpg.

as unfortunately released with 2.2.21.

Details

Provenance
wernerAuthored on Jul 13 2020, 2:30 PM
Parents
rGce793fc2f838: dirmngr: Handle EAFNOSUPPORT at connect_server.
Branches
Unknown
Tags
Unknown
Tasks
T4991: gpgme: Fails to build with latest gpg-2.2.21 update