drock has asked for the wisdom of the Perl Monks concerning the following question:
I am using gpg encryption to cat "file" to a pipe which has my passphrase in it to allow decryption to occur.
I want to use Perl to do this below :
Here is a snippet:cat file |gpg --option newfile oldfile
thank you!open (PASS, "+<$pass") or warn "was unable to open FH $!"; for (;<PASS>;) { $gpgpass = $_; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: using a pipe
by Celada (Monk) on Dec 29, 2005 at 20:47 UTC | |
by drock (Beadle) on Dec 30, 2005 at 03:16 UTC | |
by Celada (Monk) on Dec 30, 2005 at 06:00 UTC | |
by drock (Beadle) on Dec 30, 2005 at 19:48 UTC | |
Re: using a pipe
by wazzuteke (Hermit) on Dec 29, 2005 at 21:14 UTC | |
by drock (Beadle) on Dec 30, 2005 at 03:25 UTC | |
by wazzuteke (Hermit) on Dec 30, 2005 at 15:28 UTC |
Back to
Seekers of Perl Wisdom