gpg-agent
Malte Gell
malte_gell@t-online.de
Thu Apr 24 01:21:02 2003
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> The variable is being emitted in the root environment space but not
> in the user space. Even when I run the command above, the variable
> doesn't remain set outside the terminal window.
I start gpg-agent this way via ~/.xsession
if test -e ~/.gpg_agent_info; then
. ~/.gpg_agent_info
else
gpg-agent --daemon --sh >> ~/.gpg_agent_info
=2E ~/.gpg_agent_info
fi
So, every time I log in, ~/.xsession will check, whether gpg-agent is up=20
and running and if not, it will be started.
I have the right options for gpg-agent in ~/.gnupg/gpg-agent.conf which=20
looks like this:
[malte_gell@eingang]~/.gnupg=B7 cat gpg-agent.conf
pinentry-program /usr/local/bin/pinentry-qt
no-grab
default-cache-ttl 3600
This works fine for me. If I exit from KDE and log in later, ~/.xsession=20
sees that gpg-agent is already up and running.
HTH
Malte
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iEYEAREDAAYFAj6nH+sACgkQGzg12gD8wBbOPQCgmfUgdT8lZzJZ7ON1vKldI4jI
30MAn0cUYSO2eR602xzc8isWDuJ1ctWE
=3DI73V
=2D----END PGP SIGNATURE-----