Hi,
I am using Thunderbird & enigmail (1.9.3) on a Linux Mint 17.3 system. I
want gpg-agent to store the passphrases of my keys but I am stuck now
after going through all the enigmail debug advice and exhausting the
knowledge available on the enigmail forum.
My environment:
- Linux Mint 17.3 KDE
- gpg2 and gpg-agent version 2.0.22
- Kgpg and gpa frontends
- Thunderbird 52.4.0, enigmail 1.9.3
The gpg-agent ist started from
/usr/share/upstart/sessions/gpg-agent.conf at login
I have "use-agent" in my ~/.gnupg/gpg.conf.
I have "pinentry-program /usr/bin/pinentry" in my ~/.gnupg/gpg-agent.conf
Still enigmail is throwing an error, that pinenrty could not be opened
and in the attached log file gpg-agent_autostart-17102017_NOK.log there
is three times this "ERR 67108949 No Pinentry".
Now the strange part: If I start gpg-agent manually from a terminal
everything works fine: decrypting an email is possible and the gpg-agent
log confirms that (see attached log file gpg-agent_manual_OK.log).
commands in a terminal:
killall gpg-agent
gpg-agent --debug-level expert --use-standard-socket --daemon /bin/sh
Any ideas what could be wrong in the gpg setup?
2017-10-17 22:06:35 gpg-agent[2200] Es wird auf Socket `/home/wilks/.gnupg/S.gpg-agent' gehört
2017-10-17 22:06:35 gpg-agent[2208] gpg-agent (GnuPG) 2.0.22 started
2017-10-17 22:07:40 gpg-agent[2208] Handhabungsroutine 0x5647951e10c0 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:07:41 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:07:41 gpg-agent[2208] Handhabungsroutine 0x5647951e10c0 für den fd 10 beendet
2017-10-17 22:08:41 gpg-agent[2208] Handhabungsroutine 0x5647951e0240 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:08:41 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:08:41 gpg-agent[2208] Handhabungsroutine 0x5647951e0240 für den fd 10 beendet
2017-10-17 22:09:41 gpg-agent[2208] Handhabungsroutine 0x5647951e0240 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:09:41 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:09:41 gpg-agent[2208] Handhabungsroutine 0x5647951e0240 für den fd 10 beendet
2017-10-17 22:10:22 gpg-agent[2208] Handhabungsroutine 0x5647951e1840 für fd 9 gestartet
gpg-agent[2208]: chan_9 -> OK Pleased to meet you, process 4495
gpg-agent[2208]: chan_9 <- RESET
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- OPTION display=:0
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- OPTION xauthority=/tmp/kde-wilks/xauth-1000-_0
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- OPTION allow-pinentry-notify
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- GET_PASSPHRASE --data --repeat=0 -- 50E439DB868F9EC57B8D51F136C6B8ED1066CEE7 X X Sie+benötigen+eine+Passphrase,+um+den+geheimen+OpenPGP+Schlüssel+zu+entsperren.%0ABenutzer:+%
2017-10-17 22:10:22 gpg-agent[2208] starting a new PIN Entry
gpg-agent[2208]: chan_10 <- [eof]
gpg-agent[2208]: chan_10 -> BYE
2017-10-17 22:10:22 gpg-agent[2208] can't connect to the PIN entry module: Dateiende
2017-10-17 22:10:22 gpg-agent[2208] command get_passphrase failed: Kein Pinentry
gpg-agent[2208]: chan_9 -> ERR 67108949 Kein Pinentry <GPG Agent>
gpg-agent[2208]: chan_9 <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[2208]: chan_9 -> OK
gpg-agent[2208]: chan_9 <- GET_PASSPHRASE --data --repeat=0 -- 45AA7BEEDA54117C4AE0321CFFC43049EB19FBD6 X X Sie+benötigen+eine+Passphrase,+um+den+geheimen+OpenPGP+Schlüssel+zu+entsperren.%0ABenutzer:+
2017-10-17 22:10:22 gpg-agent[2208] starting a new PIN Entry
gpg-agent[2208]: chan_10 <- [eof]
gpg-agent[2208]: chan_10 -> BYE
2017-10-17 22:10:22 gpg-agent[2208] can't connect to the PIN entry module: Dateiende
2017-10-17 22:10:22 gpg-agent[2208] command get_passphrase failed: Kein Pinentry
gpg-agent[2208]: chan_9 -> ERR 67108949 Kein Pinentry <GPG Agent>
gpg-agent[2208]: chan_9 <- [eof]
2017-10-17 22:10:22 gpg-agent[2208] Handhabungsroutine 0x5647951e1840 für den fd 9 beendet
2017-10-17 22:10:43 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:10:43 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:10:43 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:11:44 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:11:44 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:11:44 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:12:44 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:12:44 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:12:44 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:13:46 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:13:46 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:13:46 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:14:47 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:14:47 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:14:47 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:15:49 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:15:50 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:15:50 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:16:50 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für fd 10 gestartet
gpg-agent[2208]: chan_10 -> OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 <- OK Pleased to meet you, process 2208
gpg-agent[2208]: chan_9 -> GETINFO pid
gpg-agent[2208]: chan_10 <- GETINFO pid
gpg-agent[2208]: chan_10 -> D 2208
gpg-agent[2208]: chan_10 -> OK
gpg-agent[2208]: chan_9 <- D 2208
gpg-agent[2208]: chan_9 <- OK
2017-10-17 22:16:50 gpg-agent[2208] socket is still served by this server
gpg-agent[2208]: chan_9 -> BYE
gpg-agent[2208]: chan_10 <- BYE
gpg-agent[2208]: chan_10 -> OK closing connection
2017-10-17 22:16:50 gpg-agent[2208] Handhabungsroutine 0x5647951e0a50 für den fd 10 beendet
2017-10-17 22:17:13 gpg-agent[2208] SIGTERM received - shutting down ...
2017-10-17 22:17:13 gpg-agent[2208] gpg-agent (GnuPG) 2.0.22 angehalten
2017-10-17 22:17:36 gpg-agent[2247] Es wird auf Socket `/home/wilks/.gnupg/S.gpg-agent' gehört
2017-10-17 22:17:36 gpg-agent[2254] gpg-agent (GnuPG) 2.0.22 started
2017-10-17 22:18:39 gpg-agent[2254] Handhabungsroutine 0x558fd69ca0c0 für fd 10 gestartet
gpg-agent[2254]: chan_10 -> OK Pleased to meet you, process 2254
gpg-agent[2254]: chan_9 <- OK Pleased to meet you, process 2254
gpg-agent[2254]: chan_9 -> GETINFO pid
gpg-agent[2254]: chan_10 <- GETINFO pid
gpg-agent[2254]: chan_10 -> D 2254
gpg-agent[2254]: chan_10 -> OK
gpg-agent[2254]: chan_9 <- D 2254
gpg-agent[2254]: chan_9 <- OK
2017-10-17 22:18:39 gpg-agent[2254] socket is still served by this server
gpg-agent[2254]: chan_9 -> BYE
gpg-agent[2254]: chan_10 <- BYE
gpg-agent[2254]: chan_10 -> OK closing connection
2017-10-17 22:18:39 gpg-agent[2254] Handhabungsroutine 0x558fd69ca0c0 für den fd 10 beendet
2017-10-17 22:19:41 gpg-agent[2254] Handhabungsroutine 0x558fd69c9240 für fd 10 gestartet
gpg-agent[2254]: chan_10 -> OK Pleased to meet you, process 2254
gpg-agent[2254]: chan_9 <- OK Pleased to meet you, process 2254
gpg-agent[2254]: chan_9 -> GETINFO pid
gpg-agent[2254]: chan_10 <- GETINFO pid
gpg-agent[2254]: chan_10 -> D 2254
gpg-agent[2254]: chan_10 -> OK
gpg-agent[2254]: chan_9 <- D 2254
gpg-agent[2254]: chan_9 <- OK
2017-10-17 22:19:41 gpg-agent[2254] socket is still served by this server
gpg-agent[2254]: chan_9 -> BYE
gpg-agent[2254]: chan_10 <- BYE
gpg-agent[2254]: chan_10 -> OK closing connection
2017-10-17 22:19:41 gpg-agent[2254] Handhabungsroutine 0x558fd69c9240 für den fd 10 beendet
2017-10-17 22:20:01 gpg-agent[2254] Handhabungsroutine 0x558fd69ca840 für fd 9 gestartet
gpg-agent[2254]: chan_9 -> OK Pleased to meet you, process 4382
gpg-agent[2254]: chan_9 <- RESET
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- OPTION display=:0
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- OPTION xauthority=/tmp/kde-wilks/xauth-1000-_0
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- OPTION allow-pinentry-notify
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- GET_PASSPHRASE --data --repeat=0 -- 50E439DB868F9EC57B8D51F136C6B8ED1066CEE7 X X Sie+benötigen+eine+Passphrase,+um+den+geheimen+OpenPGP+Schlüssel+zu+entsperren.%0ABenutzer:+
2017-10-17 22:20:01 gpg-agent[2254] starting a new PIN Entry
gpg-agent[2254]: chan_10 <- [eof]
gpg-agent[2254]: chan_10 -> BYE
2017-10-17 22:20:01 gpg-agent[2254] can't connect to the PIN entry module: Dateiende
2017-10-17 22:20:01 gpg-agent[2254] command get_passphrase failed: Kein Pinentry
gpg-agent[2254]: chan_9 -> ERR 67108949 Kein Pinentry <GPG Agent>
gpg-agent[2254]: chan_9 <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[2254]: chan_9 -> OK
gpg-agent[2254]: chan_9 <- GET_PASSPHRASE --data --repeat=0 -- 45AA7BEEDA54117C4AE0321CFFC43049EB19FBD6 X X Sie+benötigen+eine+Passphrase,+um+den+geheimen+OpenPGP+Schlüssel+zu+entsperren.%0ABenutzer:+
2017-10-17 22:20:01 gpg-agent[2254] starting a new PIN Entry
gpg-agent[2254]: chan_10 <- [eof]
gpg-agent[2254]: chan_10 -> BYE
2017-10-17 22:20:01 gpg-agent[2254] can't connect to the PIN entry module: Dateiende
2017-10-17 22:20:01 gpg-agent[2254] command get_passphrase failed: Kein Pinentry
gpg-agent[2254]: chan_9 -> ERR 67108949 Kein Pinentry <GPG Agent>
gpg-agent[2254]: chan_9 <- [eof]
2017-10-17 22:20:01 gpg-agent[2254] Handhabungsroutine 0x558fd69ca840 für den fd 9 beendet
wilks@wilks-tuxedo:~ > gpg-agent --debug-level expert --use-standard-socket --daemon /bin/sh
gpg-agent[19264]: enabled debug flags: command cache assuan
gpg-agent[19264]: Es wird auf Socket `/home/wilks/.gnupg/S.gpg-agent' gehört
gpg-agent[19265]: gpg-agent (GnuPG) 2.0.22 started
$ gpg-agent[19265]: Handhabungsroutine 0x557eeef7ed20 für fd 6 gestartet
gpg-agent[19265]: chan_6 -> OK Pleased to meet you, process 19286
gpg-agent[19265]: chan_6 <- RESET
gpg-agent[19265]: chan_6 -> OK
gpg-agent[19265]: chan_6 <- OPTION display=:0
gpg-agent[19265]: chan_6 -> OK
gpg-agent[19265]: chan_6 <- OPTION xauthority=/tmp/kde-wilks/xauth-1000-_0
gpg-agent[19265]: chan_6 -> OK
gpg-agent[19265]: chan_6 <- OPTION allow-pinentry-notify
gpg-agent[19265]: chan_6 -> OK
gpg-agent[19265]: chan_6 <- GETINFO cmd_has_option GET_PASSPHRASE repeat
gpg-agent[19265]: chan_6 -> OK
gpg-agent[19265]: chan_6 <- GET_PASSPHRASE --data --repeat=0 -- 50E439DB868F9EC57B8D51F136C6B8ED1066CEE7 X X Sie+benötigen+eine+Passphrase,+um+den+geheimen+OpenPGP+Schlüssel+zu+entsperren.%0ABenutzer:+%22Heinz+Wilk+<[email protected]>%22%0A2048-bit+RSA+Schlüssel,+ID+1066CEE7,+erzeugt+2016-06-09+(Hauptschlüssel-ID+6B17CB8D)%0A
gpg-agent[19265]: DBG: agent_get_cache `50E439DB868F9EC57B8D51F136C6B8ED1066CEE7'...
gpg-agent[19265]: DBG: ... miss
gpg-agent[19265]: starting a new PIN Entry
gpg-agent[19265]: chan_7 <- OK Your orders please
gpg-agent[19265]: DBG: connection to PIN entry established
gpg-agent[19265]: chan_7 -> OPTION grab
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION ttyname=/dev/pts/5
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION ttytype=xterm
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION default-ok=_OK
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION default-cancel=_Abbrechen
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION default-prompt=PIN:
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> OPTION touch-file=/home/wilks/.gnupg/S.gpg-agent
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> GETINFO pid
gpg-agent[19265]: chan_7 <- D 19287
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_6 -> INQUIRE PINENTRY_LAUNCHED 19287
gpg-agent[19265]: chan_6 <- END
gpg-agent[19265]: chan_7 -> SETDESC Sie benötigen eine Passphrase, um den geheimen OpenPGP Schlüssel zu entsperren.%0A
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> SETPROMPT Passphrase
gpg-agent[19265]: chan_7 <- OK
gpg-agent[19265]: chan_7 -> [[Confidential data not shown]]
gpg-agent[19265]: chan_7 <- [[Confidential data not shown]]
gpg-agent[19265]: chan_7 <- [[Confidential data not shown]]
gpg-agent[19265]: chan_7 -> BYE
gpg-agent[19265]: DBG: agent_put_cache `50E439DB868F9EC57B8D51F136C6B8ED1066CEE7' requested ttl=0 mode=3
gpg-agent[19265]: chan_6 -> [[Confidential data not shown]]
gpg-agent[19265]: chan_6 -> [[Confidential data not shown]]
gpg-agent[19265]: chan_6 <- [eof]
gpg-agent[19265]: Handhabungsroutine 0x557eeef7ed20 für den fd 6 beendet
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users