Page MenuHome GnuPG

pinentry-curses should be able to avoid showing *s when user enters passphrase
Closed, ResolvedPublic

Description

(see also https://bugs.debian.org/721828)

One convention i've seen in a few places is that if the first key pressed is a backspace, passphrase entry stops echoingn masking characters (perhaps replaced with a [no echo] field instead of *.

that way, users who don't like having ******* reveal that their password is only 7 characters long can just hit backspace first.

Details

Version
1.0.0

Event Timeline

werner added a subscriber: werner.

Good idea.

The feature has been implemented for the -qt, -tqt, -gtk, and -curses pinentries.

As for the remaining pinentries:

  • For pinentry-efl, pinentry-gnome3, and pinentry-w32, the underlying toolkits (the Enlightenment Foundation Libraries, the Gcr library from GNOME, and the Win32 API) don’t seem to provide the support needed to implement the feature. It might still be possible to do it, but I don’t believe the feature is worthy enough to go to great lengths circumventing the toolkits’ limitations. And besides, if the toolkits don’t support such a feature, users of the corresponding graphical environments (Enlightenment, GNOME, Windows) probably don’t expect it, so we probably shouldn’t even try to do it.
  • For pinentry-emacs, I am too unfamiliar with Emacs to have any idea about how it can be done (heretic Vim user here, sorry), but I suspect it would have to be done on Emacs’ side anyway (pinentry.el) rather than in Pinentry itself.

Therefore I am inclined to close this request as Resolved; @dkg, feel free to intervene if you disagree and would like to make the point that the feature should exist in all pinentries.

gouttegd claimed this task.

No disagreement after more than a year, I think it’s fair to say that either everybody is fine with that feature being only present in the -qt, -tqt, -gtk, and -curses pinentries, or that nobody cares. :) Closing now, will be part of the upcoming pinentry-1.1.1.