Thread: gnome-keyring-daemon disables gpg-agent
hi,
gnome-keyring-daemon started , how can configure not start gpg-agent emulation?
story far:
want use new crypto stick gnupg. basics work, can't use gpg-agent , therefore enigmail refuses encrypt/sign/decrypt mails.
$ gpg --card-status
gpg: selecting openpgp failed: unknown command
gpg: openpgp card not available: general error
$ gpg --no-use-agent --card-status
application id ...: d27600012401020000050000115a0000
[...]
~/.gnupg/gpg.conf enables gpg-agent
use-agent
/etc/x11/xsession.d/90x11-common_ssh-agent
checks if gpg.conf has 'use-agent' enabled , sets startup variable correctly:
startup='/usr/bin/gpg-agent --daemon --sh --write-env-file=/home/user/.gnupg/gpg-agent-info-machine /usr/bin/dbus-launch --exit-with-session /usr/bin/gnome-session --session=ubuntu-2d'
file /home/user/.gnupg/gpg-agent-info-machine contains correct environment settings:
gpg_agent_info=/tmp/gpg-n8nebl/s.gpg-agent:9998:1
ssh_auth_sock=/tmp/gpg-sjd4wp/s.gpg-agent.ssh
ssh_agent_pid=9998
these settings gpg (and enigmail) can use smart card.
$ . ~/.gnupg/gpg-agent-info-machine
$ gpg --card-status
application id ...: d27600012401020000050000115a0000
[...]
without manually setting gpg_agent_info variable is:
/tmp/keyring-i3x2tc/gpg:0:1
afaik caused gnome-keyring-daemon.
i'm looking way disable start of gpg-daemon emulation. gnome-keyring-daemon has command line option --components, should possible disable gpg-agent component.
daemon started , how can configure it? or on wrong track , dead simple?
in advance,
yurim
Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [gnome] gnome-keyring-daemon disables gpg-agent
Ubuntu
Comments
Post a Comment