zip encryption?

Martin Bretschneider martin.bretschneider@gmx.de
Tue Jun 10 00:03:02 2003


--=.TPKXEX0w,uDRjF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Daniel Carrera <dcarrera@math.umd.edu> wrote:

Hi Daniel,

> On Mon, Jun 09, 2003 at 11:16:00AM -0400, CL Gilbert wrote:
> > Do you think public key encryption alal gpg could be used with
> > bzip or some other zip so that zipped files could be opened by
> > passing them the private key?
> 
> How is that different from what gpg currently does?
> GnuPG compresses files before encrypting them to reduce redundancy.

Yep, I tested this with a very mixed folder (i.e. wordprossing-,
spreadsheet-, HTML-, text-documents and images). Here's the output:

26982400 22. Jan 23:24 directory.tar
14218750 22. Jan 23:24 directory.tar.bz2
17611782 22. Jan 23:23 directory.tar.gpg
17602559 22. Jan 23:23 directory.tar.gz

As you can see, GnuPG uses the gzip-(or zlib)algorithm. You can check
it this way:

$gpg --edit-key YOURKEY-ID
>showpref

Martin
-- 
  www.bretschneidernet.de  OpenPGP_0x4EA52583     JID_breti@jabber.org
      (o_.'  (0_                   Albert Einstein:
      //\c{} //\           Few are those who see with their
      V__)_  V_/_      own eyes and feel with their own hearts.

--=.TPKXEX0w,uDRjF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+5PsAGK1ebE6lJYMRAhaYAJ0ehyf+LIJFRoUOL4T9BUmZT4buswCeLx0B
Nqb+dM3vqEo3LrmKa6tq1xE=
=YNOD
-----END PGP SIGNATURE-----

--=.TPKXEX0w,uDRjF--