[pkg-gnupg-maint] Bug#850946: pinentry-curses: does not quit on Ctrl-C (SIGINT), still grabs keys, takes 100% CPU time

Vincent Lefevre vincent at vinc17.net
Thu Dec 5 18:05:45 GMT 2019


Control: reassign -1 gpg-agent 2.2.17-3
Control: retitle -1 gpg-agent: does not terminate pinentry on Ctrl-C (SIGINT)

On 2017-01-11 15:05:50 +0100, Vincent Lefevre wrote:
> When I use
> 
> pinentry-program /usr/bin/pinentry-curses
> 
> in ~/.gnupg/gpg-agent.conf and I do:
> 
> $ gpg -d file.gpg
> 
> I get:
> 
>             ┌──────────────────────────────────────────────────────┐
>             │ Enter passphrase                                     │
>             │                                                      │
>             │                                                      │
>             │ Passphrase: ________________________________________ │
>             │                                                      │
>             │       <OK>                              <Cancel>     │
>             └──────────────────────────────────────────────────────┘
> 
> Then if I type Ctrl-C, I get back to the shell, but pinentry-curses
> is still running and grab keys, making the terminal and the shell
> unusable: some keys go to the shell (I've tried with both bash and
> zsh), other keys go to pinentry-curses, randomly. If I quit the
> terminal, then pinentry-curses takes 100% CPU time until I manually
> kill it.

According to the upstream bug, the issue is in gpg-agent (and fixed
there upstream, not yet in Debian). Thus reassigning the bug.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnupg-maint mailing list