Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gnupg fails to decrypt on kmail
Date: Mon, 22 Feb 2010 07:03:09
Message-Id: 201002220649.20267.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] gnupg fails to decrypt on kmail by Willie Wong
1 On Sunday 21 February 2010 17:01:13 Willie Wong wrote:
2 > On Sun, Feb 21, 2010 at 03:32:00PM +0000, Mick wrote:
3 > > On Sunday 21 February 2010 15:08:28 Willie Wong wrote:
4 > > > On Sun, Feb 21, 2010 at 02:50:09PM +0000, Mick wrote:
5 > > > > Yesterday I updated my system and after a series of:
6 > > > >
7 > > > > revdep-rebuild --library libjpeg.so.7
8 > > > >
9 > > > > and
10 > > > >
11 > > > > revdep-rebuild -v -i
12 > > > >
13 > > > > I thought all was good to go. Unfortunately, I now noticed that I
14 > > > > cannot open encrypted messages anymore and signing mail fails. This
15 > > > > points towards gnupg which I remerged along with all packages I
16 > > > > thought might me relevant. I haven't yet remerged openssl (will try
17 > > > > that in a minute) but I am not sure that will help. It's not just
18 > > > > smime but also openpgp that fails.
19 > > > >
20 > > > > Has anyone else noticed this and have you found any fixes for it?
21 > > >
22 > > > Just a random guess: maybe revdep-rebuild updated to a new version and
23 > > > configuration files changed? Did you look at the elogs of whatever you
24 > > > re-emerged yesterday?
25 > >
26 > > Yes and I ran dispatch-conf for a couple of changes. However, nothing
27 > > that I recall was related to encryption:
28 > >
29 > > Sat Feb 20 08:05:50 2010 >>> media-libs/jpeg-8
30 > > Sat Feb 20 08:20:29 2010 >>> media-sound/phonon-4.3.80-r1
31 > > Sat Feb 20 08:36:37 2010 >>> media-libs/tiff-3.9.2
32 > > Sat Feb 20 08:39:24 2010 >>> media-libs/libquicktime-1.1.3
33 > > Sat Feb 20 08:42:15 2010 >>> media-libs/gd-2.0.35-r1
34 > >
35 > > Anything else I could look into?
36 >
37 > Then I am kind of out of ideas. You mentioned that you remerged gnupg:
38 > was there any warnings or logs at the end of the merge? (If you have
39 > it enabled, the logs maybe stored in /var/log/portage/elog/)
40 >
41 > You say that smime and openpgp fails, do you have the error message?
42 > It may help other people who know more about this to answer your
43 > question.
44
45 Thanks again for your help. The problem seems to be with pinentry when gpg is
46 invoked manually:
47
48 gpg: problem with the agent: No pinentry
49
50 and then as a consequence:
51
52 gpg: public key decryption failed: General error
53 gpg: decryption failed: No secret key
54
55 However, I have remerged pinentry. :-(
56
57 Initially, I thought this was related to updating media-libs/jpeg-8 and
58 library libjpeg.so.7, but it seems that it may be related to qt3 becoming
59 deprecated? Perhaps I should unmask app-crypt/pinentry-0.7.6 which has qt4 in
60 its USE flags and try with that?
61
62 Meanwhile I just resync'ed and there's a load of kde-4.3.5 updates. Perhaps I
63 was cought up in some major update bonanza and that's why this broke. I'll
64 finish the update and see how it goes.
65 --
66 Regards,
67 Mick

Replies

Subject Author
Re: [gentoo-user] gnupg fails to decrypt on kmail Mick <michaelkintzios@×××××.com>