Home
> boot, opensuse, post, script, sicurezza, xfce > openSUSE 12.1: xfce and gpg, gpg-agent, enigmail, thunderbird
openSUSE 12.1: xfce and gpg, gpg-agent, enigmail, thunderbird
-
nano -w ~/.gnupg/gpg-agent.conf pinentry-program /usr/bin/pinentry-gtk-2 no-grab default-cache-ttl 1800
-
# nano -w /etc/profile.d/gpg-agent.sh #!/bin/sh envfile="${HOME}/.gnupg/gpg-agent.env" if test -f "$envfile" && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then eval "$(cat "$envfile")" else eval "$(gpg-agent --daemon --write-env-file "$envfile")" fi export GPG_AGENT_INFO # the env file does not contain the export statement
(from ArchLinux wiki) # chmod +x /etc/profile.d/gpg-agent.sh- logout and login (thanks to Klaus)
-
gpg-agent gpg-agent: gpg-agent running and available
Categories: boot, opensuse, post, script, sicurezza, xfce
gpg enigmail xfce, opensuse enigmail, opensuse xfce gpg, xfce gpg, xfce gpg-daemon


Thanks for sharing. This also works for OpenSUSE 12.2. One comment though on step 4: It should not be necessary to reboot your system, log out and log in again is sufficient.
ok thanks