pinentry loopback mode & password repeat

Neal H. Walfield neal at walfield.org
Tue Jun 16 16:09:39 CEST 2015


Hi,

At Fri, 12 Jun 2015 21:09:49 +0200,
Neal H. Walfield wrote:
> At Fri, 12 Jun 2015 20:48:46 +0200,
> Neal H. Walfield wrote:
> > In issue #1976 (https://bugs.gnupg.org/gnupg/issue1976), Daiki reports
> > that GnuPG 2.1 asks for the passphrase twice when encrypting in
> > symmetric mode.  I came up with a simple patch to always disable
> > repeat mode when doing symmetric encryption.
> 
> After discussing some more with Werner, it seems I misunderstood: we
> shouldn't unconditionally disable repeat mode for symmetric encryption
> operations, but unconditionally disable repeat mode when in pinentry
> loopback mode.

I've now pushed a patch that implements this behavior (only ever ask
for a passphrase once if we are in pinentry loopback mode).  This
closes issue #1976.  If this is a problem, please let me know soon so
we can revert it.

Thanks,

:) Neal





More information about the Gnupg-devel mailing list