Home GnuPG
Diffusion GnuPG bba74cdd95ea

Fix pinentry loopback and passphrase contraints.
bba74cdd95eaUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix pinentry loopback and passphrase contraints.

* agent/command.c (cmd_get_passphrase): Don't repeat passphrase for
pinentry loopback mode.
* agent/genkey.c (check_passphrase_constraints): Immediately return when
pinentry mode is loopback.

Fixes endless loop when inquiring a passphrase with
pinentry-mode=loopback that may not satisfy passphrase contraints.

Details

Provenance
bjkAuthored on Aug 16 2015, 7:46 PM
Parents
rG93f5295df512: Fix sending INQUIRE_MAXLEN for symmetric data.
Branches
Unknown
Tags
Unknown

Event Timeline

Ben Kibbey <bjk@luxsci.net> committed rGbba74cdd95ea: Fix pinentry loopback and passphrase contraints. (authored by Ben Kibbey <bjk@luxsci.net>).Aug 16 2015, 10:12 PM