Cannot encrypt/decrypt zip-Files correctly (Andreas)
Steve Butler
sbutler@fchn.com
Wed Jun 5 18:32:05 2002
Interesting. Didn't realize that GnuPG had that level of deductive
reasoning. Sounds like a winner.
As for the other responder that is doing gzip and gpg in a pipeline, it will
be easier on the system to have one less process and one less pipe by
removing gzip and letting gpg do the compression. Again, there may be
reasons to do it in two steps especially if you want the decrypted file to
still be compressed.
Options! Options! Always a dozen ways to do something right. Now, which
one is the best is only something the implementer can decide. Everybody
else will probably disagree <<grin>>.
However, after 27 years in this industry I've come to the following
conclusion.
The best way is:
1. The method the implementer understands intuitively and is obvious to the
most casual observer.
2. Does the job the way the implementer wants it done.
3. Produces the desired results.
4. Does so in an acceptable amount of time.
5. Uses no more than an acceptable amount of resources.
The downside is that somebody will always come along to so a method that
uses less resources!
--Steve
-----Original Message-----
From: David Shaw [mailto:dshaw@jabberwocky.com]
Sent: Tuesday, June 04, 2002 7:56 PM
To: GnuPG Users' List
Subject: Re: Cannot encrypt/decrypt zip-Files correctly (Andreas)
On Tue, Jun 04, 2002 at 04:22:02PM -0500, David T-G wrote:
> While I can think of few reasons for compressing before encrypting as a
> part of the process (maybe there isn't much disk space on the receiving
> end, though), having a file already compressed makes sense in lots of
> ways. Opinions?
If you encrypt a compressed file, GnuPG (1.0.7) will try to
automatically disable compression so as not to compress twice. By
default, if you encrypt a uncompressed file, GnuPG will automatically
compress it while encrypting. You are pretty safe going either way
with the compression :)
David
--
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------
+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
_______________________________________________
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.