DevHeads.net

gpg-agent hosed for one user....

This is F11, KDE.

Seems gpg-agent is hosed for one user. I think it may have to do with
the cache for the private key.

I get the following....

egreshko@meimei .gnupg]$ /usr/bin/gpg --charset utf8 --batch --no-tty
--status-fd 2 -t --clearsign -u \<Ed. ... at greshko dot com\> --use-agent
[GNUPG:] USERID_HINT E099CA8D56C206FA Ed Greshko <Ed. ... at greshko dot com>
[GNUPG:] NEED_PASSPHRASE E099CA8D56C206FA E099CA8D56C206FA 17 0
[GNUPG:] MISSING_PASSPHRASE
[GNUPG:] BAD_PASSPHRASE E099CA8D56C206FA
gpg: Invalid passphrase; please try again ...
[GNUPG:] USERID_HINT E099CA8D56C206FA Ed Greshko <Ed. ... at greshko dot com>
[GNUPG:] NEED_PASSPHRASE E099CA8D56C206FA E099CA8D56C206FA 17 0
[GNUPG:] MISSING_PASSPHRASE
[GNUPG:] BAD_PASSPHRASE E099CA8D56C206FA
gpg: Invalid passphrase; please try again ...
[GNUPG:] USERID_HINT E099CA8D56C206FA Ed Greshko <Ed. ... at greshko dot com>
[GNUPG:] NEED_PASSPHRASE E099CA8D56C206FA E099CA8D56C206FA 17 0
[GNUPG:] MISSING_PASSPHRASE
[GNUPG:] BAD_PASSPHRASE E099CA8D56C206FA
gpg: skipped "<Ed. ... at greshko dot com>": bad passphrase
gpg: [stdin]: clearsign failed: bad passphrase

The dialog to type in the passphrase pops up but goes away in an instant.

If I move the .gnupg directory to another user's area I have no problem.

I get the feeling there is a corrupt file...or stuck file....from what I
can tell gpg-agent interfaces with pinentry but don't know what else to
do...

Any ideas?

Comments

Re: gpg-agent hosed for one user....[SOLVED]

By Ed Greshko at 03/30/2010 - 20:47

The problem ended up to be one of the input methods associated with
ibus. I removed ibus and all of its input methods including the m17n
pieces. I reinstalled only the ones I really need and all is well. I
suppose I need to be a good citizen and reinstall the other one at a
time to see if I can recreate the problem. But, that will have to wait
till the weekend.

Ed

Re: gpg-agent hosed for one user....

By Mail Lists at 03/30/2010 - 20:26

...

What happens if in that shell - you kill and restart a fresh gpg-agent ?

(e.g eval $(gpg-agent --daemon --write-env-file))

gene/

Re: gpg-agent hosed for one user....

By Ed Greshko at 03/30/2010 - 20:49

Thanks....but I finally figured it out.