Home GnuPG

pinentry-curses: Handle SETREPEAT.

Description

pinentry-curses: Handle SETREPEAT.

* pinentry/pinentry-curses.c (DIALOG_POS_REPEAT_PIN): New.
(dialog_t): Separate members for repeat.
(dialog_create): Create passphrase repeat field.
(dialog_switch_pos): Handle DIALOG_POS_REPEAT_PIN.
(dialog_input): Modify to handle the repeat field.
(test_repeat): New.
(dialog_run): Skip OK when changing fields and passphrases do not match.
  • Signed-off-by: Ben Kibbey <bjk@luxsci.net>

Details

Provenance
bjkAuthored on Aug 17 2016, 2:50 AM
Parents
rPa7e78e1753a4: build: Emit warning for pinentry-emacs.
Branches
Unknown
Tags
Unknown