[gpg]Re: decrypt stdin with passphrase in

Ivan Boldyrev boldyrev+nospam@cgitftp.uiggm.nsc.ru
Mon Jun 30 12:09:26 2003


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8420 day of my life Steve Butler wrote:
>
>>The example showed you how to use fd 3 as input -- that's the
>>"3<passfile" bit...
>
> That's I/O redirection.=20
>
> I don't think there is any syntax that allows _pipe_ (|) to use
> anything other than stdlist and stdin.
>

echo mypassword | gpg --passphrase-fd 3 3<&0 <file.gpg

=2D --=20
Ivan Boldyrev

                                       XML -- new language of ML family.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++zR+pb3RmFYJhnMRAsHaAKCGOn6vDzydIhE5909pD0CTprnFTgCeMnrJ
eJVtfr3I+snqA6WsAZihWhI=3D
=3Dsku/
=2D----END PGP SIGNATURE-----