in reply to Using Crypt::OpenPGP with large files
Hello roperl,
Welcome to the monastery. I have never used the Crypt::OpenPGP but by reading the documentation why don't you the encrypted line one by one in the file and decrypt it?
Sample of code from similar question Crypt::OpenPGP, encrypting messages using a public key file:
$pgp = new Crypt::OpenPGP( SecRing => $private_file ); my $plaintext = $pgp->decrypt ( Data => $cyphertext, Passphrase => $pass, ) || die $pgp->errstr();
Hope this helps, BR.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Crypt::OpenPGP with large files
by roperl (Beadle) on Jul 25, 2017 at 14:17 UTC |