GNUPG, how to set the passphrase as parameter in comment line

Joseph Oreste Bruni jbruni at mac.com
Wed Mar 14 18:16:50 CET 2007


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 at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2508 bytes
Desc: not available
Url : /pipermail/attachments/20070314/be3455ee/attachment.bin 


More information about the Gnupg-users mailing list