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

Bernhard Reiter bernhard at intevation.de
Thu Jan 15 18:07:12 CET 2009


On Dienstag, 13. Januar 2009, Andreas Petzold wrote:
> 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?

I've meant that it tried to fetch and external certificate
as far as I have studied the log.

> > 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?

No. You could try debug-level guru or a newer dirmngr.

> 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.

Could you post a message where this problem appears to the public?
At least I could check if I have the same problems with the particular 
certificate.
>
> > 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.

What is the result: Not enough information to verify signature? Yellow color?
Is there an audit log button? If yes, what does pressing it say?
What is the debugging level of gpgsm.conf? Maybe try "expert" or "guru" there.
You should also check the .xsession output of kmail.

Bernhard


-- 
Managing Director - Owner: www.intevation.net      (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1603 bytes
Desc: not available
URL: </pipermail/attachments/20090115/186cb7c6/attachment.bin>


More information about the Gpa-dev mailing list