file size limit bug?

Lee McKenna lee@lodgenet.com
Mon, 11 Sep 2000 08:10:53 -0500


This is a multi-part message in MIME format.
--------------7C26FE970743334CC2FBBA56
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

After reading some other posts about this, I have solved my problem by
piping the files into the gpg command, like this:

To encrypt:
cat 2388.mpg | gpg -e -o 2388.mpg.gpg -r lee@lodgenet.com

To decrypt:
cat 2388.mpg.gpg | gpg -d -o 2388.mpg.decrypted

By the way, I successfully encrypted and decrypted large files 3GB, 4.5GB,
and 4.8GB on both versions 1.0.2 and 1.0.2b and both work fine, using it on
FreeBSD 4.1.

Thought others on the lists might find this info useful.

Regards,
--Lee

Lee McKenna wrote:


> Is there a file size limit that gpg can handle?
>
> I've encrypted several large (greater than 3.5GB) files and when I try
> to decrypt I get the following:
>
> gpg: [don't know]: invalid packet (ctb=57) near 281685836
> gpg: [don't know]: invalid packet (ctb=61) near 281685837
>
> I'm running on FreeBSD-4.1-stable, with version GnuPG 1.0.2 as installed
>
> from the FreeBSD ports collection. I've tried the Windows version too
> with similar results. I've tried changing the key length to 768, I've
> tried different ciphers like Blowfish, 3DES, etc.
>
> Interesting to note that if I encrypt using a symmetric key by supplying
>
> a simple passphrase, decrypt then works fine on these large files.
>
> Is this a bug?
>
> A 300MB file works fine, by the way...just chokes on the 3GB or
> larger...have not tried anything in the 2GB range yet...
>
> --Lee
--------------7C26FE970743334CC2FBBA56 Content-Type: text/x-vcard; charset=us-ascii; name="lee.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Lee McKenna Content-Disposition: attachment; filename="lee.vcf" begin:vcard n:McKenna;Lee tel;cell:605-201-0555 tel;fax:605-988-1491 tel;home:605-335-6847 tel;work:605-988-1320 x-mozilla-html:FALSE url:http://www.lodgenet.com org:LodgeNet Entertainment Corporation;Product & Technology Development adr:;;3900 West Innovation Street;Sioux Falls;SD;57107;US version:2.1 email;internet:lee@lodgenet.com title:Sr. Systems Engineer note:Have a nice day. x-mozilla-cpt:;-22112 fn:Lee McKenna end:vcard --------------7C26FE970743334CC2FBBA56-- -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org