Cannot encrypt/decrypt zip-Files correctly

Steve Butler sbutler@fchn.com
Tue Jun 4 18:57:01 2002


Remember that a compressed file is a binary file.  You can't treat it as =
a
text file.  Now, if this compressed file is also an output from tar (a
compressed tarball) it will be even more unreadable by a human.

1.  Be sure you used binary mode to do the download (using FTP?)

2.  When you decrypt a binary file it will still be binary -- just not
encrypted.  So, that gzip file on your clipboard will still be a gzip =
file
(which you will have to decompress).

3.  If it was a compressed tarball you will have to uncompress it and =
detar
it (winzip might handle some forms of a tarball).

Have fun.

--Steve

-----Original Message-----
From: akorthaus@web.de [mailto:akorthaus@web.de]
Sent: Tuesday, June 04, 2002 9:18 AM
To: gnupg-users@gnupg.org
Subject: Cannot encrypt/decrypt zip-Files correctly


Hi!
I=B4ve got a strange problem.  I try to encrypt a gz-file on my Linux =
Server
using GPG, and download the encrypted file, and decrypt it with WinPT on =
my
PC(Win2K).
That`s what I=B4ve tried in SHELL:

(17:23:59) [webseite] gpg -o out.txt -a -e --default-recipient akorthaus
mysql.zip

in the same way I encrypted html-files which I could decrypt without any
problems.

Now I open out.txt and copied the code to my clipboard. After that I =
opened
WinPT and decrypted the code from clipboard, that worked correctly, but =
the
result was:

Zip!=1A=07

As I allready said - the same way worked with html Files!

What could be the problem, or how can I decrypt complete files using =
WinPT?

cu
Andreas



_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, =
is for the sole use of the intended recipient(s) and may contain =
confidential and privileged information.  Any unauthorized review, use, =
disclosure or distribution is prohibited.  If you are not the intended =
recipient, please contact the sender by reply e-mail and destroy all =
copies of the original message.