Home GnuPG

tty: Handle the case where the user needs to repeat the passphrase.
4549998627eeUnpublished

Unpublished Commit ยท Learn More

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

Description

tty: Handle the case where the user needs to repeat the passphrase.

* tty/pinentry-tty.c: Include "memory.h".
(read_password): Break into two functions: read_password and password.
(read_password): Just read the password from the terminal and return
it in secure memory (or NULL if the user canceled the entry or there
was an error).
(password): Improve output.  Handle the repeat passphrase case (i.e.,
when pinentry->repeat_passphrase is set).
* tty/Makefile.am (AM_CPPFLAGS): Add "-I$(top_srcdir)/secmem".

Details

Provenance
nealAuthored on May 13 2015, 11:13 PM
Parents
rPc68a6854aada: Add a new helper function, pinentry_setbuffer_use.
Branches
Unknown
Tags
Unknown