On Feb 28, 2010, at 2:58 PM, Grant Olson wrote: > On 2/28/2010 10:41 AM, Mario Castelán Castro wrote: >> February 27th 2010 in gnupg-users@gnupg.org thread "Hot to give the >> keyword from the command line" >> >> Thanks Laurent, it works :). > > Also, if you encrypt to a key, you shouldn't need to provide a > passphrase at all, unless you need to sign the file too. I get nervous > about passphrases in batch files...
Indeed. If you have to encode a passphrase in a batch file or other piece of code that calls GPG, it's worth asking yourself why you have a passphrase there at all. You might want to just remove the passphrase altogether. David _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users