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:
I do not understand whatcat file |gpg --passphrase-fd 0 --decrypt --output oldfile newfile
is doing? Is this the same as:my $enc_pass = shift( @{ [ <$file> ] } );
what does $gpg_out have in it?for (;<FH>;) { print $_; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: using a pipe
by wazzuteke (Hermit) on Dec 30, 2005 at 15:28 UTC |
In Section
Seekers of Perl Wisdom