decrypt stdin with passphrase in

Wed Jun 25 17:58:02 2003

"darren chamberlain |gpg|"
<> writes:
>Hash: SHA1
>* Robert <qg7l80202 at> [2003-06-25 10:50]:
>> Now, what I'd REALLY like to find is a way to do this without writing
>> either the passphrase OR the encrypted block of text to disk...  My
>> problem seems to be that I can't pipe anything FROM any stream except
>> stdout and I can't pipe TO any stream except stdin.
>The example showed you how to use fd 3 as input -- that's the
>"3<passfile" bit...
But using that syntax means I have to have the passphrase written to disk,
And I've got to avoid doing that.
Is there some way to sent things to file descriptor 3 other than
I guess what I'm looking for is something like "echo 'passphrase' 3| gpg
...", but there is no "3|" in ksh or sh as far as I can tell...