File size limit in GnuPG???

Jack McKinney jackmc-gnupg-users@lorentz.com
Mon, 27 Nov 2000 14:57:31 -0600


--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

     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 -

--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjoiyroACgkQimeon9aPLAcOggCeLga4y40Kl3pBwgqznT3QoITX
BCMAoI1dQtxde15BS+54XF3jNRlnPGQ2
=2r+/
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--

-- 
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of  "unsubscribe"  to gnupg-users-request@gnupg.org