kleopatra: An error occurred while fetching the certificates from the backend

Andreas Petzold Andreas.Petzold at mailbox.tu-dresden.de
Tue Jan 13 14:32:10 CET 2009


Hi,

Quoting Bernhard Reiter <bernhard at intevation.de>:

> On Mittwoch, 7. Januar 2009, Andreas Petzold wrote:
>> when opening kleopatra it throws the following error
>>
>> An error occurred while fetching the certificates from the backend:
>> End of file
>
> From the log it seems to
> Maybe one that does not result into anything.

sorry, I don't understand what you mean here?

> Does it go away if you switch away from external certificates
> to internal ones in the search dialog?

switching from local to external certs doesn't result in an error.  
switching back to local certs (which is the default) causes the error.

>
>> The logfile can be found here
>>
>> http://tinyurl.com/7alk5h
>
>   4 - 2009-01-07 17:30:54 gpgsm[15650]: looking up issuer at   
> external location
>   4 - 2009-01-07 17:30:54 gpgsm[15650]: can't connect to the dirmngr - trying
> fall back
>   4 - 2009-01-07 17:30:54 gpgsm[15650]: no running dirmngr - starting
> `/usr/bin/dirmngr'
> [client at fd 6 connected]
>   6 - 2009-01-07 17:30:54 dirmngr[15651]: permanently loaded certificates: 0
>   6 - 2009-01-07 17:30:54 dirmngr[15651]:     runtime cached certificates: 0
>   6 - 2009-01-07 17:30:54 dirmngr[15651.0] DBG: -> # Home: ~/.gnupg
>   6 - 2009-01-07 17:30:54 dirmngr[15651.0] DBG: -> #
> Config: /home/petzold/.gnupg/dirmngr.conf
>   6 - 2009-01-07 17:30:54 dirmngr[15651.0] DBG: -> OK Dirmngr 1.0.0 at your
> service
> [client at fd 4 disconnected]
>   5 - 2009-01-07 17:30:54 gpg-agent[7363.6] DBG: <- [EOF]
>   5 - 2009-01-07 17:30:54 gpg-agent[7363]: handler 0xf347af0 for fd 6
> terminated
>   6 - 2009-01-07 17:30:54 dirmngr[15651.0] DBG: <- [EOF]
> [client at fd 6 disconnected]
>
>> Please let me know if additional info is required to track down the  
>> cause of the problem.
>
> You could try to look enable and look into the dirmngr log.
> It might be that this is a superflous messsage.

my dirmngr.conf contains

debug-level expert
log-file socket:///home/petzold/.gnupg/log-socket

so I guess the log I've posted should contain all relevant log  
messages from dirmngr. Should I change these settings?

I played around a bit and found out that if I disable

Kleopatra->Settings->Configure GpgME Backend->GPG for S/MIME-> Fetch  
missing issuer certs

then the error is gone.

> Do you encounter other problems?

After disabling the option above, I can't verify any signatures in  
kmail. Actually, it also doesn't work if I enable the fetch option.  
However, I can validate all the certificates inside kleopatra if the  
fetch option is disabled.

A log of the failed signature validation can be found here:

http://tinyurl.com/8bo4ru

To my quite untrained eye, there is no indication of a failure in this  
log. I'm at loss :-( Hope we can track this down sooner rather than  
later.

Cheers,

Andreas





More information about the Gpa-dev mailing list