Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Using OpenPGP to encrypt large files

by pc88mxer (Vicar)
on Aug 05, 2008 at 16:30 UTC ( #702406=note: print w/ replies, xml ) Need Help??


in reply to Using OpenPGP to encrypt large files

From what I can tell, Crypt::OpenPGP does not support streaming. Even if you pass it a file name, the very first thing it does is slurp the contents into a variable.

What about piping your data to a command-line version of PGP? I.e., something like:

open(PGP, "|gpg -output file -encrypt -recipient ..."); while (<FH>) { print PGP } close(PGP);


Comment on Re: Using OpenPGP to encrypt large files
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-09-30 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (384 votes), past polls