How to give the keywork from command line.

David Shaw dshaw at jabberwocky.com
Mon Mar 1 23:15:40 CET 2010


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 at 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




More information about the Gnupg-users mailing list