[pkg-gnupg-maint] Bug#1092628: pinentry-gtk2: Gets stuck in a loop and prevents other pinentry from running if the terminal is closed when reading from terminal

Andreas Metzler ametzler at bebt.de
Fri Jan 10 18:15:10 GMT 2025


On 2025-01-10 NIIBE Yutaka <gniibe at fsij.org> wrote:
> Tim Connors <reportbug at rather.puzzling.org> wrote:
>> Anything invoking this copy of pinentry (haven't verified the other
>> pinentry packages), if closed prematurely before a password is
>> accepted or rejected from the terminal, results in further invocations
>> being blocked for a long time (I've seen indefinitely).

> IIUC, it falls back to pinentry-curses.

> I think that the problem was handled by upstream:

> 	https://dev.gnupg.org/T4585
> 	https://dev.gnupg.org/T6641


Hello,

Thank you for the pointer, let's quote the essentials here to have all
information at hand:

| ... GnuPG 2.2 (which doesn't have the fix of T4585). Without the fix,
| killing gpg (by CTRL-C) causes problematic situation where pinentry
| remains asking.
[...]
| Fixed in pinentry 1.3, when using GnuPG 2.4 or later.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the pkg-gnupg-maint mailing list