Disallow echo disabling when prompting for a PIN.

Authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org> on Aug 21 2018, 9:31 PM.

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

Committed
gouttegdAug 22 2018, 11:28 PM
Parents
rP0fb3392f6156: tqt: Disable echoing if backspace is pressed first.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
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