> I have gpg-agent cache passphrase. When I run gpg -c text.txt it asks for > passphrase twice like it normally would but Kgpg or KMail don't.
-c is symmetric encryption, encryption with a passphrase. It is prompting you what the passphrase should be. If it were to ask you for your passphrase for *decryption*, it would ask only once (unless you make a typo). Encryption to a public key would be: $ gpg -r KEYID -e test.txt and it will never ask for a passphrase, since you don't need a passphrase for _encryption_, but rather for _decryption_. However, also signing the file will need your passphrase, regardless of the recipient. By the way, it is possible to specify a "default recipient" in the configuration file if you do not use a "-r" when encrypting a file with "-e". HTH, Peter. -- I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. You can send me encrypted mail if you want some privacy. My key is available at <http://digitalbrains.com/2012/openpgp-key-peter> _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
