On Wed, 16 Mar 2022 16:22, Schultschik, Sven said:
> There must be a possibility to proper kill the pinentry
gpg-agent closes the pinentry or kills it on timeout. You need to
properly restore your tty in case the used curses version does not act
correctly or the pinentry died.
Salam-Shalom,
> > I'm using the Cancel methods on ctrl+c but the terminal is anyway messed up.
> > Would it be worth a bug report?
>
> No. The pinentry is background process and there is no portable way to save
> and restore the screen. Thus your application may want to do something like
> this after a gpgme