Home GnuPG

Add option "invisible-char".
9cc13bbd6954Unpublished

Unpublished Commit · Learn More

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

Description

Add option "invisible-char".

* pinentry/pinentry.h (struct pinentry): Add field invisible_char.
* pinentry/pinentry.c (pinentry_reset): Restore that.
(option_handler): Add option "invisible-char".
* gtk+-2/pinentry-gtk-2.c (create_window): Set the invisible char if
given.

The default GTK+ invisible character is pretty wide so that only ~16
characters show up in the smalles pinentry. This is a bit annoying if
the passphrase is a longer due to the missing visual feedback. By
using #x2022 ("•") this allows for ~23 characters and a plain "*" even
3 more characters. Tastes are different so we allow to change that
character at runtime.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 16 2015, 8:56 PM
Parents
rPc64d1f4a9ee2: Post release updates
Branches
Unknown
Tags
Unknown