Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: OT: PGP encryption command to use in Perl

by Corion (Patriarch)
on Oct 13, 2015 at 07:54 UTC ( [id://1144642]=note: print w/replies, xml ) Need Help??


in reply to Re^2: OT: PGP encryption command to use in Perl
in thread OT: PGP encryption command to use in Perl

I couldn't test this and only showed you what I read from the manpage.

Personally, I use a pipe through GPG like this:

my $GPG_cmd = "/usr/bin/gpg --homedir . --keyring pubring.gpg --secret +-keyring secring.gpg --batch --trust-model always -z 7 --no-secmem-wa +rning --lock-never"; open my $gpg, qq(| $GPG_cmd --output "$OUTFILE") or die "Couldn't launch $GPG_cmd: $!"; print $gpg $mydata;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1144642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-23 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found