newbie question
madrook@cox.net
madrook@cox.net
Tue Jan 7 23:07:02 2003
Hi Johan,
That works. However, the space before the pipe must be removed:
Echo pass|...
Thank you!
Brad
> -----Original Message-----
> From: gnupg-users-admin@gnupg.org
> [mailto:gnupg-users-admin@gnupg.org] On Behalf Of Johan Wevers
> Sent: Tuesday, January 07, 2003 3:41 AM
> To: GnuPG users
> Subject: Re: newbie question
>
>
> You, madrook@cox.net, wrote:
>
> > Everytime I decrypt I get prompted for my passphrase to use
> my secret
> > key.
> > Is there a way to enter than on the command-line?
>
> No, due to security arguments the passphrase can only be
> entered on a file descriptor. If you use NT 4 or win2000, who
> have a usefull piping mechanism, you could try something like
>
> echo passphrase | gpg.exe --passphrase-fd 0 file.gpg
>
> --
> ir. J.C.A. Wevers // Physics and science fiction site:
> johanw@vulcan.xs4all.nl // http://www.xs4all.nl/~johanw/index.html
> PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-> users
>