http://qs321.pair.com?node_id=519938


in reply to Re: using a pipe
in thread using a pipe

not exactly... what I am doing is cating a file that has the clear text passphrase in it then piping this output as inout to the gpg binary for decryption like so:
cat file |gpg --passphrase-fd 0 --decrypt --output oldfile newfile
I do not understand what
my $enc_pass = shift( @{ [ <$file> ] } );
is doing? Is this the same as:
for (;<FH>;) { print $_; }
what does $gpg_out have in it?