Encrypt/decript large files
David Shaw
dshaw at jabberwocky.com
Tue Jun 24 23:39:02 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jun 24, 2003 at 09:45:39AM -0700, Eric Harlow wrote:
>
> Sorry for the delay in getting back. It takes a while
> to run the tests and there's so many other things
> going on.
>
> Using -z0 to encrypt a large file results in similar
> errors - bad packets, message manipulated, etc. The
> largest file I got to work was a bit over 2.3 gig.
> Somewhere over that, it fails. This error occurred on
> a file of 4,799,488,000.
>
> I have not tried this on Linux due to lack of free
> space. Would it be helpful to see if it occurs on
> Linux too?
That would be helpful, yes. I expect it will work on Linux.
It is not clear whether this is a problem encoding or decoding. Can
you try this on NT:
type (thefile) | gpg -o output.gpg --encrypt
If that doesn't work:
type (thefile) | gpg -o output.gpg -z0 --encrypt
That is, try piping the data in rather then giving the filename on the
command line. Then, try decrypting the output.gpg file via both:
gpg -o result output.gpg
and
type output.gpg | gpg -o result
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3rc1 (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
iD8DBQE++Lcj4mZch0nhy8kRAihhAJoD0SrkbVxwXRwBsmN/GV9aldMd9QCfSuWM
3utp+VsxrgvI/9Se5+g4GrA=
=BrEB
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list