Home GnuPG

pinentry-tty: make confirm actions work
21d28d114259Unpublished

Unpublished Commit ยท Learn More

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

Description

pinentry-tty: make confirm actions work

* tty/pinentry-tty.c: treat the situation where no PIN is requested
  and one_button is not set as a confirmation prompt.

When user confirmation is requested on a dumb terminal, we use the
value of the "OK" button followed with [y/N]? as the confirmation
prompt. User typing is echoed as normal, since a confirmation prompt
is not a password entry.

Details

Provenance
dkgAuthored on Apr 28 2015, 7:01 PM
nealCommitted on May 1 2015, 4:58 PM
Parents
rP93bd60a3ca91: pinentry-tty: fix segfault on MESSAGE or CONFIRM
Branches
Unknown
Tags
Unknown