It would be nice if pinentries would allow optionally
to show the passphrase /password in cleartext to check the typing.
This was proposed and initially discussed on gnupg-devel in 2015-05 here is the thread
https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/thread.html#29790
During the gpg4all contract implementation for pinentry-qt and pinentry-gtk
is now pending, revisiting the issue. I am opening this issue to document
the design considerations.
The current patch has a warning dialog when going from hidden -> clear state
and at least one character is in the hidden field.
Feedback from Bernhard Reiter, Emanuel Schütze and Sean Engelhardt is
that this warning dialog seems to be suboptimal.
My argument to go without the warning dialog:
The common case is that people want to see the passphrase when
activating the option. This would correspond to an often used
user interface principle: Design for the common case.
(e.g. see Principles in Jeff Johnson's http://www.gui-bloopers.com/toc.php)
The warning dialog would be safety switch if a user
does not now the button or accidentially activates it.
This seems to be a rare case and the damage of losing information
about ones password is easily revertabel, either press the button
again or just change the password afterwards. So the safety switch
would be hinder the common case and the rare case has a recovery option
even without it.