Page MenuHome GnuPG

Pinentry Does not pass getpin to console
Closed, InvalidPublic

Description

Fedora 24 - gnome 3
Fails for Enigmail
Fails for elevate access via SU

I am attempting to digitally signa and encrypt emails in Thunderbird, and when I
go to sign the email and enigmail prompts me for my passphrase, and I hit okay,
the process just hangs. The only way to continue is to hit cancel.. It is almost
as if the system does not recognize the keypress. nothing gets passed to the
console at the time of Hitting continue.

Timestamp: 07/05/2016 12:12:58 AM
Error: mimeEncrypt.js: caught exception: undefined
Message: 'undefined'
File: undefined
Line: undefined
Stack: undefined

unning the pinetree output, i defineatly do not see the message being sent to
the console.

gpg-agent[15987]: starting a new PIN Entry
gpg-agent[15987]: DBG: connection to PIN entry established
gpg-agent[15987]: DBG: chan_4 -> INQUIRE PINENTRY_LAUNCHED 16160
gpg-agent[15987]: DBG: chan_4 <- END
gpg-agent[15987]: DBG: error calling pinentry: Operation cancelled <Pinentry>
had to hit cancel key after 30 seconds.

gpg-agent[15987]: failed to unprotect the secret key: Operation cancelled
gpg-agent[15987]: failed to read the secret key
gpg-agent[15987]: command 'PKSIGN' failed: Operation cancelled <Pinentry>
gpg-agent[15987]: DBG: chan_4 -> ERR 83886179 Operation cancelled <Pinentry>
gpg-agent[15987]: DBG: chan_4 <- [eof]
gpg-agent[15987]: handler 0x7f0bb0ff1700 for fd 4 terminated
gpg-agent[15987]: handler 0x7f0bb17f2700 for fd 5 started
gpg-agent[15987]: DBG: chan_5 -> OK Pleased to meet you, process 15987
gpg-agent[15987]: DBG: chan_4 <- OK Pleased to meet you, process 15987
gpg-agent[15987]: DBG: chan_4 -> GETINFO pid
gpg-agent[15987]: DBG: chan_5 <- GETINFO pid
gpg-agent[15987]: DBG: chan_5 -> D 15987
gpg-agent[15987]: DBG: chan_5 -> OK
gpg-agent[15987]: DBG: chan_4 <- D 15987
gpg-agent[15987]: DBG: chan_4 <- OK
gpg-agent[15987]: DBG: chan_4 -> BYE
gpg-agent[15987]: DBG: chan_5 <- BYE

The pin entry screen launches, but when i hit continue, it just greys
out, and does nothing, the only thing I can do is hit cancel

[lavajgh@localhost ~]$ pinentry <<EOT SETDESC="" hello="" GETPIN="" EOT="" OK=""
Pleased="" to="" meet="" you="" OK="" <<<<<------Manuall="" Hit="" Cancel=""
ERR="" 83886179="" Operation="" cancelled="" <Pinentry="">

Details

Version
0.9.7

Event Timeline

lavajgh set Version to 0.9.7.
lavajgh added a subscriber: lavajgh.

Is that the gnome3 pinentry? if so please try the gtk-2 pinentry to see whether
it is the same problem.

marcus closed this task as Invalid.EditedJul 12 2017, 4:05 PM
marcus added a subscriber: marcus.

I can't reproduce this in Fedora 26. If this is still an issue, please reopen and provide more information. I tested pinentry-gnome3, pinentry-gtk-2 and pinentry-qt.