encrypting and signing a file without a passphrase

James R. Hendrick Jim_Hendrick@KEANE-NNE.com
Sun Feb 9 21:53:02 2003


man gpg

...


--passphrase-fd n
Read the passphrase from file descriptor n. If you use 0 for n, the
passphrase will be read from stdin.        
This can only be used if only one passphrase is supplied.  Don't use this
option if you can avoid it.


...




-----Original Message-----
From: Steve Kwong [mailto:stevek@intergate.bc.ca] 
Sent: Sunday, February 09, 2003 12:43 PM
To: gnupg-users@gnupg.org
Subject: Fw: encrypting and signing a file without a passphrase


 Hi all,

 I am using version 1.2.1.  Can someone help me with the following:

 I would like to send encrpyt and sign a file without having to enter a
passphrase each time.  I could not find a way to pass the passphrase as an
 argument to GPG.   In the FAQ, there was some mention (article 4.14) about
a
 batch process and removing the passphrase using --edit.  I tried that, but
when I entered:
     gpg --edit foo

  I had no means of editing foo.

 Any ideas how I can encrpyt and sign a file without having to enter my
passphrase?

 Steve
 stevek@intergate.bc.ca



_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users