Passphrase in the command line

Armin Schöch schoech@iap-kborn.de
Fri Mar 15 14:58:02 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I have a question about the GPG's command line:
>
> How can I specify the passhprase in the command line?
>
> in the PGP 6.5.8 command-line there is option
> -z PASSPHRASE
> it is very usefull option in the scripts that automatic process
> encrypted mail

And it's an FAQ:

echo PASSPHRASE | gpg --passphrase-fd=0 ......

Check the manual: Unix/Linux "man gpg", Windows "gpg.man" or something
similar.

HTH,
Armin

- -- 
Am Hasenberg 26         office: Institut für Atmosphärenphysik
D-18209 Bad Doberan             Schloss-Straße 6
Tel. ++49-(0)38203/42137        D-18225 Kühlungsborn / GERMANY
Email: schoech@iap-kborn.de     Tel. +49-(0)38293-68-102
WWW: http://armins.cjb.net/     Fax. +49-(0)38293-68-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE8kf00G8Xv4GxznLoRAhLCAJ9x9FavddmsBW1yEuSJIaU8eeezJwCdHvwW
yr7Qs0+d8h+Jr+EJdpPn4dA=
=SDn8
-----END PGP SIGNATURE-----