Re: Next step: now KMail freezes

[email protected]
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
On Tuesday 27 July 2004 21:59, Werner Koch wrote:
> On Tue, 27 Jul 2004 17:32:11 +0200, bsmaillist  said:
> > I double checked with ldd that all these refer to each other. What is a
> > likely reason for GnuPG to freeze KMail like this? Where should I start
> > looking?
>
> Use log files. A first step is to put
>
> log-file /tmp/gpgsm.log
> debug-level basic
>
> into ~/.gnupg/gpgsm.conf
>
>   Werner
>
>
> _______________________________________________
> Gpa-dev mailing list
> [email protected]
> http://lists.gnupg.org/mailman/listinfo/gpa-dev

I added pinentry and dirmgr + started "gpg-agent --daemon".

In KMail :

gpgsm.log - part 1
--------------------
Check a signed e-mail (signed with my own key and sent to myself).
KMail says the mail is signed but that the signature could not be verified due 
to a "system error". Double clicking the "Detail" tag properly starts 
KGPGCertManager.

gpgsm[1389.0x807aaa8] DBG: -> Home: ~/.gnupg
gpgsm[1389.0x807aaa8] DBG: -> Config: /home/user/.gnupg/gpgsm.conf
gpgsm[1389.0x807aaa8] DBG: -> AgentInfo: /tmp/gpg-ggELmC/S.gpg-agent:3833:1
gpgsm[1389.0x807aaa8] DBG: -> DirmngrInfo: [not set]
gpgsm[1389.0x807aaa8] DBG: -> GNU Privacy Guard's S/M server 1.9.10 ready
gpgsm[1389.0x807aaa8] DBG: <- OPTION display=:0.0
gpgsm[1389.0x807aaa8] DBG: -> OK
gpgsm[1389.0x807aaa8] DBG: <- INPUT FD=17
gpgsm[1389.0x807aaa8] DBG: -> OK
gpgsm[1389.0x807aaa8] DBG: <- MESSAGE FD=21
gpgsm[1389.0x807aaa8] DBG: -> OK
gpgsm[1389.0x807aaa8] DBG: <- VERIFY
2004-07-28 00:47:47 gpgsm[1389] detached signature
gpgsm[1389.0x807aaa8] DBG: -> S NEWSIG
2004-07-28 00:47:47 gpgsm[1389] Signature made 2004-07-27 09:50:51 using 
certificate ID C7E1F459
2004-07-28 00:47:47 gpgsm[1389] no running dirmngr - starting one
2004-07-28 00:47:47 gpgsm[1389] DBG: connection to dirmngr established
2004-07-28 00:47:47 gpgsm[1389] checking the CRL failed: Unknown system error
gpgsm[1389.0x807aaa8] DBG: -> S GOODSIG
gpgsm[1389.0x807aaa8] DBG: -> S VALIDSIG 
C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459 2004-07-27 20040727T095051 
20060718T220552
2004-07-28 00:47:47 gpgsm[1389] invalid certification chain: Unknown system 
error
gpgsm[1389.0x807aaa8] DBG: -> S TRUST_UNDEFINED 65535
gpgsm[1389.0x807aaa8] DBG: -> OK
gpgsm[1391.0x807aaa8] DBG: -> Home: ~/.gnupg
gpgsm[1391.0x807aaa8] DBG: -> Config: /home/user/.gnupg/gpgsm.conf
gpgsm[1391.0x807aaa8] DBG: -> AgentInfo: /tmp/gpg-ggELmC/S.gpg-agent:3833:1
gpgsm[1391.0x807aaa8] DBG: -> DirmngrInfo: [not set]
gpgsm[1391.0x807aaa8] DBG: -> GNU Privacy Guard's S/M server 1.9.10 ready
gpgsm[1391.0x807aaa8] DBG: <- OPTION display=:0.0
gpgsm[1391.0x807aaa8] DBG: -> OK
gpgsm[1391.0x807aaa8] DBG: <- OPTION list-mode=1
gpgsm[1391.0x807aaa8] DBG: -> OK
gpgsm[1391.0x807aaa8] DBG: <- LISTKEYS 
C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459
2004-07-28 00:47:47 gpgsm[1391] DBG: connection to agent established
gpgsm[1391.0x807aaa8] DBG: -> D 
crs::1024:1:1C6AD9C6C7E1F459:20040718T220552:20060718T220552:01::CN=BS Root 
CA,OU=RD,O=Privaat,L=Donk,ST=Limburg,C=BE::escESC:
%0Afpr:::::::::C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459:::4C8B25A54F2DF6A5A4BCC4907C45A0813F8509F5:
%0Auid:::::::::1.2.840.113549.1.9.1=#626172742E73796D6F6E7340736B796E65742E6265,CN=Bart 
Symons::%0Auid:::::::::<[email protected]>::%0A
gpgsm[1391.0x807aaa8] DBG: -> OK
gpgsm[1391.0x807aaa8] DBG: <- BYE
gpgsm[1391.0x807aaa8] DBG: -> OK closing connection
gpgsm[1389.0x807aaa8] DBG: <- BYE
gpgsm[1389.0x807aaa8] DBG: -> OK closing connection


gpgsm.log - part 2
Modify gpgsm.conf to disable CRL checking
Restart KMail and check the same signed e-mail.
(CRL checking disabled in gpgsm.conf)
KMail freezes when clicking (selecting) the e-mail.


gpgsm[1392.0x807aaa8] DBG: -> Home: ~/.gnupg
gpgsm[1392.0x807aaa8] DBG: -> Config: /home/user/.gnupg/gpgsm.conf
gpgsm[1392.0x807aaa8] DBG: -> AgentInfo: /tmp/gpg-ggELmC/S.gpg-agent:3833:1
gpgsm[1392.0x807aaa8] DBG: -> DirmngrInfo: [not set]
gpgsm[1392.0x807aaa8] DBG: -> GNU Privacy Guard's S/M server 1.9.10 ready
gpgsm[1392.0x807aaa8] DBG: <- OPTION display=:0.0
gpgsm[1392.0x807aaa8] DBG: -> OK
gpgsm[1392.0x807aaa8] DBG: <- INPUT FD=17
gpgsm[1392.0x807aaa8] DBG: -> OK
gpgsm[1392.0x807aaa8] DBG: <- MESSAGE FD=21
gpgsm[1392.0x807aaa8] DBG: -> OK
gpgsm[1392.0x807aaa8] DBG: <- VERIFY
2004-07-28 00:47:48 gpgsm[1392] detached signature
gpgsm[1392.0x807aaa8] DBG: -> S NEWSIG
2004-07-28 00:47:48 gpgsm[1392] Signature made 2004-07-27 09:50:51 using 
certificate ID C7E1F459
2004-07-28 00:47:48 gpgsm[1392] no running dirmngr - starting one
2004-07-28 00:47:48 gpgsm[1392] DBG: connection to dirmngr established
2004-07-28 00:47:48 gpgsm[1392] checking the CRL failed: Unknown system error
gpgsm[1392.0x807aaa8] DBG: -> S GOODSIG
gpgsm[1392.0x807aaa8] DBG: -> S VALIDSIG 
C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459 2004-07-27 20040727T095051 
20060718T220552
2004-07-28 00:47:48 gpgsm[1392] invalid certification chain: Unknown system 
error
gpgsm[1392.0x807aaa8] DBG: -> S TRUST_UNDEFINED 65535
gpgsm[1392.0x807aaa8] DBG: -> OK
gpgsm[1392.0x807aaa8] DBG: <- BYE
gpgsm[1392.0x807aaa8] DBG: -> OK closing connection


gpgsm[1402.0x807aaa8] DBG: -> Home: ~/.gnupg
gpgsm[1402.0x807aaa8] DBG: -> Config: /home/user/.gnupg/gpgsm.conf
gpgsm[1402.0x807aaa8] DBG: -> AgentInfo: /tmp/gpg-ggELmC/S.gpg-agent:3833:1
gpgsm[1402.0x807aaa8] DBG: -> DirmngrInfo: [not set]
gpgsm[1402.0x807aaa8] DBG: -> GNU Privacy Guard's S/M server 1.9.10 ready
gpgsm[1402.0x807aaa8] DBG: <- OPTION display=:0.0
gpgsm[1402.0x807aaa8] DBG: -> OK
gpgsm[1402.0x807aaa8] DBG: <- INPUT FD=17
gpgsm[1402.0x807aaa8] DBG: -> OK
gpgsm[1402.0x807aaa8] DBG: <- MESSAGE FD=21
gpgsm[1402.0x807aaa8] DBG: -> OK
gpgsm[1402.0x807aaa8] DBG: <- VERIFY
2004-07-28 00:48:54 gpgsm[1402] detached signature
gpgsm[1402.0x807aaa8] DBG: -> S NEWSIG
2004-07-28 00:48:54 gpgsm[1402] Signature made 2004-07-27 09:50:51 using 
certificate ID C7E1F459
2004-07-28 00:48:54 gpgsm[1402] certificate is good
2004-07-28 00:48:54 gpgsm[1402] DBG: connection to agent established
2004-07-28 00:48:54 gpgsm[1402] CRLs not checked due to --disable-crl-checks 
option
gpgsm[1402.0x807aaa8] DBG: -> S GOODSIG
gpgsm[1402.0x807aaa8] DBG: -> S VALIDSIG 
C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459 2004-07-27 20040727T095051 
20060718T220552
2004-07-28 00:48:54 gpgsm[1402] Good signature from "/CN=Bart 
Symons/[email protected]"
2004-07-28 00:48:54 gpgsm[1402]                 aka "[email protected]"
gpgsm[1402.0x807aaa8] DBG: -> S TRUST_FULLY
gpgsm[1402.0x807aaa8] DBG: -> OK
gpgsm[1403.0x807aaa8] DBG: -> Home: ~/.gnupg
gpgsm[1403.0x807aaa8] DBG: -> Config: /home/user/.gnupg/gpgsm.conf
gpgsm[1403.0x807aaa8] DBG: -> AgentInfo: /tmp/gpg-ggELmC/S.gpg-agent:3833:1
gpgsm[1403.0x807aaa8] DBG: -> DirmngrInfo: [not set]
gpgsm[1403.0x807aaa8] DBG: -> GNU Privacy Guard's S/M server 1.9.10 ready
gpgsm[1403.0x807aaa8] DBG: <- OPTION display=:0.0
gpgsm[1403.0x807aaa8] DBG: -> OK
gpgsm[1403.0x807aaa8] DBG: <- OPTION list-mode=1
gpgsm[1403.0x807aaa8] DBG: -> OK
gpgsm[1403.0x807aaa8] DBG: <- LISTKEYS 
C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459
gpgsm[1402.0x807aaa8] DBG: <- [EOF]
2004-07-28 00:49:13 gpgsm[1403] DBG: connection to agent established
gpgsm[1403.0x807aaa8] DBG: -> D 
crs::1024:1:1C6AD9C6C7E1F459:20040718T220552:20060718T220552:01::CN=BS Root 
CA,OU=RD,O=Privaat,L=Donk,ST=Limburg,C=BE::escESC:
%0Afpr:::::::::C37003D68A2A592A1E8B147E1C6AD9C6C7E1F459:::4C8B25A54F2DF6A5A4BCC4907C45A0813F8509F5:
%0Auid:::::::::1.2.840.113549.1.9.1=#626172742E73796D6F6E7340736B796E65742E6265,CN=Bart 
Symons::%0Auid:::::::::<[email protected]>::%0A
gpgsm[1403.0x807aaa8] DBG: -> ERR 101 server fault (write error)
2004-07-28 00:49:13 gpgsm[1403] Assuan processing failed: write error
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.