Problems with gnome-keyring et al. (was: Card only available to root user)

Luis de Bethencourt luis at debethencourt.com
Wed Aug 10 16:24:24 CEST 2011


On Wed, Aug 10, 2011 at 01:29:04PM +0200, Luis de Bethencourt wrote:
> So I found a solution \o/
> 
> If I do:
> unset GPG_AGENT_INFO
> 
> then the card works for my user, unfortunately it only does work in terminals.
> It does launch pinentry-gtk-2 when I sign an email with mutt, and so that
> covers my usecase :)
> 
> Thanks to all!
> Luis

So the way of having this fixed system wide is:

for just all terminals, include the unset GPG_AGENT_INFO in ~/.bashrc

If running GNOME, launch gnome-session-properties, look for "GPG Password Agent"
(which uses GNOME Keyring) and deactivate it.

Thanks,
Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: </pipermail/attachments/20110810/566474da/attachment-0001.pgp>


More information about the Gnupg-users mailing list