File size limit in GnuPG???

Jason Martin jhmartin@mail.com
Mon, 27 Nov 2000 13:22:45 -0800 (PST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A couple of things to think about:

How much physical ram do you have? Perhaps GPG is trying to do the whole
process in 'locked' memory.  Or, how much disk space do you have on /tmp?
If not the above, GPG might be creating temp file somewhere and running
out of physical space.  Just a couple of guesses..

- -Jason Martin

 On Mon, 27 Nov 2000, Jack McKinney wrote:


> Alright, here's a good one for you. As I mentioned in an earlier
> email, I wrote a shell script wrapper to tar up some files and then
> encrypt the tarball. I did this earlier on a 650M directory, and the
> resulting 650M file was neither gpg or tar. So, I posted. Then, I
> grabbed a 250M directory and used the EXACT SAME SCRIPTS. This time,
> the resulting file works!
> Is there a file size limit in GnuPG?????
> I am running Debian 2.2/Linux 2.2.17/GnuPG 1.04.
> My scripts appear below.
> To be specific, I went to a directory that had a bunch of .tar.gz
> files of software I had downloaded and typed:
>
> $ gpgtar * > ../archives.tar.gpg
>
> I then did:
>
> $ cd .. ; mkdir archives2 ; cd archives2 ; gpguntar ../archives.tar.gpg
>
> The files decrypted and unpacked perfectly. When I had done the
> exact same thing earlier with the 650M directory, the resulting file
> fails:
>
> $ gpg earlier.tar.gpg
> gpg: no valid OpenPGP data found.
> $ gpg --list-packets earlier.tar.gpg
> gpg: no valid OpenPGP data found.
>
> --
> "What we observe is not nature itself, but nature Jack McKinney
> exposed to our method of questioning. http://www.lorentz.com
> -Werner Karl Heisenberg jackmc@lorentz.com
> 1024D/D68F2C07 4096g/38AEF076
>
>
> gpgtar:
> #!/bin/zsh
> echo -n 'Passphrase: ' >&2
> stty -echo
> read p1
> stty echo
> echo
> echo -n 'Repeat: ' >&2
> stty -echo
> read p2
> stty echo
> echo
>
> if [[ $p1 != $p2 ]]
> then
> echo Mismatch >&2
> exit 1
> fi
> tar -cvf - $* | gpg --passphrase-fd 3 -c 3<<< $p1
>
>
>
> gpguntar:
> #!/bin/zsh
> echo -n 'Passphrase: ' >&2
> stty -echo
> read p1
> echo
> stty echo
> gpg --passphrase-fd 3 < $1 3<<< $p1 | tar -xvf -
>
- -- If you save the world too often, it begins to expect it. PGP KeyID=0xEA954813 Fingerprint:3B07 518C D76E 572F 7DAA 88A5 9763 835A EA95 4813 finger jhmartin@pitr.scs.wsu.edu for key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org Filter: gpg4pine 4.1 (http://azzie.robotics.net) iQEMBAERAgDMBQI6ItCvnRSAAAAAAAgAjEdlZWtDb2RlIkdDUyBkLSBzKzogYS0t IEMrKyBVTCsrKysgUCsrIEwrKysgRS0tLSBXKysrIE4rKyBvLS0gSy0gdy0tLSBP LSBNLS0gVi0tIFBTKysgUEUgWSsrKyBQR1ArKysgdCsrKyA1KysgWCsgUiB0disg YisgREkrKysrIEQgRy0tIGUrKyBoIHIrKyB5PyIUFIAAAAAACQACU2xpbVNoYWR5 bm8SFIAAAAAABgADTm9va2lleWVzAAoJEJdjg1rqlUgTsYwAn2mK917QtnDmJNZ0 LOvlbAliLW8WAKCOcMk5w9f5KAsIjxx/Fz6WPMYeKw== =8G0B -----END PGP SIGNATURE----- -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org