How to use gpg-agent

Steven W. Orr steveo at syslang.net
Wed May 6 13:55:17 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I just started using gpg2 and saw that the gpg-agent needed to be run. I 
added use-agent to my gpg.conf and also added

#! /bin/bash
eval "$(gpg-agent --daemon)"

to ~/.kde/AutoStart and it seems to work fine. What I don't understand is 
the whole concept of caching passphrases.

1. How do I control how long a passphrase is cached before it decides it 
wants me to be re-asked?

2. Can I preload a passphrase when I log in? I know all about the 
security issues; I just want to know how to do it.

TIA


- -- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkoBls0ACgkQRIVy4fC+NyQCYgCfVXPwupUWuqaAaso71ZP65rfL
INcAnjwTpBU2nobNjn3hfSLEHgnmQOHU
=2Hoh
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list