gpg cannot connect to pinentry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnupg2
using kubuntu with the 4.6 beta 2, i cannot connect to gpg-agent, although it is running.
echo hello |gpg -s
gives me:
You need a passphrase to unlock the secret key for
user: "Tim Blechmann <email address hidden>"
1024-bit DSA key, ID 31445B3C, created 2009-12-29
gpg: Invalid passphrase; please try again ...
You need a passphrase to unlock the secret key for
user: "Tim Blechmann <email address hidden>"
1024-bit DSA key, ID 31445B3C, created 2009-12-29
gpg: Invalid passphrase; please try again ...
You need a passphrase to unlock the secret key for
user: "Tim Blechmann <email address hidden>"
1024-bit DSA key, ID 31445B3C, created 2009-12-29
gpg: no default secret key: bad passphrase
gpg: signing failed: bad passphrase
according to someone on the #kde irc channel, this is a known issue with gnupg-2.0.14.
Citing /usr/share/ doc/gnupg/ README. BUGS.Debian. gz:
gnupg: Piping content to gpg: echo foo | gpg --use-agent ... errors out with
`gpg: cancelled by user'
This might happen when gpg is unable to determine the correct name of the
terminal. You can check the terminal given to the agent by running
gpg-agent with the --debug-level advanced switch. The output might contain:
whereas the output of tty says
/dev/pts/X
You'll have to set GPG_TTY to point to the correct terminal (see also
gpg-agent(1)).
Debian #359758 <URL:http:// bugs.debian. org/359758> /bugs.g10code. com/gnupg/ issue1047>
GnuPG #1047 <URL:https:/
Setting your report to invalid. Reopen if the above doesn't fit your problem (but read the linked bug reports - they contain the explanation by the upstream author).