Page MenuHome GnuPG

gpg-agent --no-detach breaks pinentry-curses, pinentry-tty
Closed, ResolvedPublic

Description

I'm using gpg-agent v2.0.14 (this ships with CentOS/RHEL 6.5). This distribution
ships pinentry-0.7.6, but I also see this behavior with the latest pinentry-0.9.0
from gnupg.org source.

Steps to demonstrate issue:
(1) Start gpg-agent with --no-detach option
(2) Make sure $DISPLAY is not set to force pinentry to fallback to curses
(3) Attempt to decode a gpg-encrypted file to trigger pinentry

In the stock RHEL pinentry version (0.7.6), the input is automatically and
continuously "crammed" with asterisks ('*'). That is, it's as if someone is typing
in an infinite-length password as quickly as possible. This also consumes 100% of
CPU and requires kill -9.

With the latest pinentry (0.9.0), the behavior is the same, except the asterisks
don't fill as quickly, maybe one or two per second. Still unusable, just not as
severe as the older pinentry-curses.

Details

Version
0.9.0

Event Timeline

We had 7 more releases after 0.7.6 Can you please test with 0.9.2 which will
be released today.

dkg added a subscriber: dkg.

the reporter noted the same problem in 0.9.0, not just 0.7.6.

still, a re-test with 0.9.2 would be useful

It would nice to have an exactly sequence of commands that cause this problem.

werner claimed this task.
werner added a project: Too Old.