GPG Passphrase on the command line

Tracy D. Bossong sithtracy at yahoo.com
Sat Sep 24 16:36:25 CEST 2005


You didn't specify your platform, but in Windows it's
done like this:

echo mypasshrase|gpg --encrypt --passphrase-fd 0.....

--- "Low, Claudia" <claudia_low at stercomm.com> wrote:

> Hi,
> 
>   Is there an option, eg. --passphrase, that I can
> use so that I can
> pass the passphrase in the command line when doing a
> signing, symmetric
> encryption or decryption? Without this option, I
> will be prompted on the
> console.
>   In my program, I can only use command line to
> execute the commands. I
> am not able to pass in the passphrase from a file
> (using file
> descriptor).
>  
>   Please kindly help.
> 
>   Thanks,
>     Claudia
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 




More information about the Gnupg-users mailing list