You have a few choices:

1) remove the passphrase from the private key
2) pass the passphrase to gpg using the --passphase-fd option
3) supply the passphrase using the --pasephrase-file option
4) supply the passphrase using the --passphrase option



On Mar 14, 2007, at 1:04 AM, aloha wrote:


Hi all,

I m new in this forum and new in GnuPG. I m now writing a program which need
to encrypt the outputted csv with GnuPG.

I've wrote a batch file in windows xp to execute the gnu to encrypt,
everything goes fine.
But when the gnu start to encrypt, it will as me to input the passphrase.

How to "automate" this? Does gnupg provide a parameter which allow use to
input the passphrase that user doesn't need to input everytime?

thanks a lot

Aloha

--
View this message in context: http://www.nabble.com/GNUPG%2C-how-to- set-the-passphrase-as-parameter-in-comment-line- tf3400686.html#a9469929
Sent from the GnuPG - User mailing list archive at Nabble.com.


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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to