Home GnuPG

Disallow echo disabling when prompting for a PIN.

Description

Disallow echo disabling when prompting for a PIN.

* gtk+-2/pinentry-gtk-2.c (create_window): Do not setup
the backspace handler when prompting for a PIN.
callback only when not prompting for a PIN.
* qt/pinentrydialog.h (_got_input): Rename field to
_disable_echo_allowed.
* qt/pinentrydialog.cpp (PinEntryDialog::setPrompt): Disallow
echo disabling when prompting for a PIN.
* tqt/pinentrydialog.h (_got_input): Rename field to
_disable_echo_allowed.
* tqt/pinentrydialog.cpp (PinEntryDialog::setPrompt): Disallow
echo disabling when prompting for a PIN.
  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>

Details

Provenance
Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>Authored on Aug 21 2018, 9:31 PM
gouttegdCommitted on Aug 22 2018, 11:28 PM
Parents
rP0fb3392f6156: tqt: Disable echoing if backspace is pressed first.
Branches
Unknown
Tags
Unknown

Event Timeline

gouttegd committed rPd0eaec8ef60b: Disallow echo disabling when prompting for a PIN. (authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>).Aug 22 2018, 11:28 PM