Home GnuPG

tty,curses: Upon SIGINT, let pinentry exit gracefully.

Description

tty,curses: Upon SIGINT, let pinentry exit gracefully.

* pinentry/pinentry-curses.c (dialog_run): Return
GPG_ERR_FULLY_CANCELED when EINTR.
(curses_cmd_handler): Always setup SIGINT handler.
* tty/pinentry-tty.c (tty_cmd_handler): Always setup SIGINT handler.
  • GnuPG-bug-id: T6641
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details