PKWare and Winzip Reach A Secure Zip Compromise 219
richard_za writes "Until now the rival compression software vendors PKWare and Winzip have had different (incompatible) ways of password protecting the ZIP format. In a bid to prevent fragmentation of the standard they have agreed to have their software support opening of the other's files. They have however not agreed to support a single standard. PKZip's encryption is RSA-based while Winzip use an AES approach which is fully documented here.
The Register is running this story. PKWare has this press release."
no difference as far as the user is concerned (Score:4, Insightful)
"As long as it works"
Re:no difference as far as the user is concerned (Score:5, Insightful)
2 standards only cause confusion. Remember the Word 95/97/2000 confusion?
"Call him back and tell him we need it saved as Word 95!"
Re:no difference as far as the user is concerned (Score:3, Informative)
Re:no difference as far as the user is concerned (Score:5, Informative)
Whereas WinZip have chosen an off-the-shelf algorithm, a GPL implementation of that algorithm and published the full specs to how they've extended the zip format.
So a user who knows not about such matters might conclude that PKZip performs like a slug, costs more thanks to licencing or is non-standard while WinZip is none of those things.
Ten years too late (Score:5, Insightful)
Re:Ten years too late (Score:3, Interesting)
Patches are welcome (Score:2, Informative)
I suspect that Infozip's tool won't handle ZIPs encrypted with recent versions of PK's or WZ's software....
That's because Info-ZIP is waiting for volunteers to produce a patch to read and write WinZip's fully documented encryption.
Re:Ten years too late (Score:2, Interesting)
Re:Ten years too late (Score:2)
How long has windowsXP been and you still don't know some of the new features it gave windows users? Zip
Re:Ten years too late (Score:2)
Re:Ten years too late (Score:5, Informative)
Of course, if you want to verify this yourself, you are going to have to make sure that you test it on a virgin XP box that you haven't raped yet by installing WinZip on it...that'll kill the built-in ZIP "folder" class as WinZip messes with the file associations.
Oh, and by the way, the Windows ZIP folder class has been around since Windows 98, when it came with the Windows 98 Plus! pack. The first version of Windows to include it as part of the operating system was Windows ME. And if you look hard enough, you can actually find a copy of it on Microsoft's web site (disguised as an update/bug fix for the ZIP folder; it won't install if you don't have it already, but you can extract the files from the self-extracting CAB and install it manually). It runs on virtually every Win32-based Microsoft OS. Heck, I have managed to install and use the Microsoft ZIP folder on Windows NT 4.0 (regsvr32 zipfldr.dll), and it ran perfectly fine.
Infinitely superior to WinZip in every way (except for the fact that it doesn't do disk spanning). It even has an encryption feature.
Ten years too early (Score:3, Interesting)
Re:Ten years too early (Score:2)
<AOL>Me too</AOL>
Virgin XP install. Got a pile of .zip files in a directory. Click on directory, expect to see only the directory open in the left-hand pane. Instead, see big pile of .ZIP clutter
Re:Ten years too late (Score:2)
The copyright notice at the top of unzip.c says 1990...not quite 15 years, but close enough. I think I first used it with some pre-1.0 version of Linux back in '93 or '94 (or maybe with DR DOS 6 before that).
Who's running PKWare (Score:3, Interesting)
Re:Who's running PKWare (Score:5, Informative)
Re:Who's running PKWare (Score:4, Interesting)
The issue is encryption standards (Score:5, Insightful)
There is still a problem with interoperability at the level of creating encrypted ZIP files. There is no longer a problem with interoperability at the level of reading encrypted ZIP files. The best way for this problem to go away would be for PKWARE to expand the SecureZIP standard to include RSA and AES encryption.
Re:The issue is encryption standards (Score:2, Informative)
Re:The issue is encryption standards (Score:2)
Re:The issue is encryption standards (Score:2)
Do one thing... (Score:5, Interesting)
The only reason to stuff both functions into a single program seems to be the perennial problem of installing anything on Windows systems (you can't assume that an encryption tool is available) and marketing - why should users pay $20 twice for two different pieces of tacky shareware when they could pay Winzip $40 for one?
Re:Do one thing... (Score:2)
Remember that on Unix-likes, you actually use three tools: tar, gzip and pgp. Zip handles both the file-archiving and file-compression concerns, and now the encryption too.
I can see definite positives in making it easy for GUI users to create secure compressed archives. It would be nice if there could be three best-of-breed tools that had a united GUI. But that would be cooperation, and that's not the Windows way.
Re:Do one thing... (Score:2)
But a lot of programs now use archive formats to bundle related files in a single place. Think of Unix archives (.a) files that used to just hold object files in software libraries - now we have Java archives (.jar) files that contain class files and properties, web archives (.war) that contain
Try PowerArchiver (Score:2, Informative)
Symmetric vs. asymmetric (Score:5, Interesting)
Actually I think this is one of the cases, where there is no need for asymmetric encryption at all. So AES sounds like a better idea. Can anybody explain why PKZip use RSA? And which symmetric cipher is it combined with?
Re:Symmetric vs. asymmetric (Score:4, Insightful)
That's only true if you are interested in creating an archive for your own future use. However, if you are interested in exchanging archives with other people, then you have the headache of key exchange, and assymetric encryption is quite useful. Probably most people who need to do this would prefer a solution that handles e-mail and other kinds of documents as well. However if you already have the public key infrastructure in place, it is probably going to be nice to use it for your zip archives too, in a belt-and-suspenders kind of way. I haven't looked at the PKZIP product, but the assymetric encryption should allow for digial signatures on archives as well, which would provide authentication and non-repudiaiton.
I'd say that the PKZip way would be more attractive to companies that need enteprise wide security and may have built it around RSA, and the WinZip way would be adequate for users who simply want to avoid having people poke around in their files.
Re:Symmetric vs. asymmetric (Score:3, Informative)
Re:Symmetric vs. asymmetric (Score:2, Interesting)
This way I do not have to remember or type (i.e. expose) my COMPLEX password each type I make a backup (quite often). Only when I use it (rarely).
I time factor is irrelevente, in MOST machines, since only a password is incrypted, using GnuPG.
Re:Symmetric vs. asymmetric (Score:2)
Good point. But then you must need to store your key somewhere. Actually each archive you create should contain the secret key encrypted under your password, because you don't want to eventually lose your secret key and then be unable to decrypt your backup copies. So on your harddisk you must keep the encrypted secret key along with the public key. Could you explain in a litle more detail how you do this? And is that the same as PKZip does?
Symmetric, asymmetric... public! (Score:3, Interesting)
IMHO bot PKzip and WinZip are sticking their technologies somewhere in mid 90s, while
Don't do this! (Score:2)
Sounds like you don't really "get" PKI then. Would you seriously encrypt an important message using a public key that you received attached to an email?
How do you know that email from "Alan Cox" with his public key is actually from Alan Cox? The last time you got a penis enlargement spam from "Bill Clinton" did you actuall
Re:Don't do this! (Score:2)
Sounds like you don't really "get" PKI then. Sending a public key through non-reliable channels is against PKI.
Well, if your email channel is already protected by signing all content with trusted keys then no problem to trust the key sent through such email.
Alternatively, I prefer to use keys signed by trusted CA servers.
When last time have you get s
Re:Symmetric vs. asymmetric (Score:2)
The parent is right talking about a combo of asymmetric and symmetric combinations in common use. With SIMP (transparent MSN encryption) the public keys are sent automatically, and you are supped to verify the has
Re:Symmetric vs. asymmetric (Score:2)
An issue for Windows users mainly (Score:2)
Simon
Re:An issue for Windows users mainly (Score:2)
(but they both have their uses. bzip is 'better', but doesn't work on streams like gzip can. It uses blocks.)
Re:An issue for Windows users mainly (Score:2)
Sure, there are times when I will compress something for transfer over the net with time-saving in mind, but this is rare compared to "I have 2500 class files and source files and it needs to be on that machine"...
Simon
Re:An issue for Windows users mainly (Score:3, Informative)
Yeah, if it wasn't for the ability to have tar run the archive through b/gzip for me with the -g or -j flag, I would probably just use plain tar files. However, it is convenient enough to just stick the j in, so I bzip all my archives.
That said, when I used to use Windows, if I needed an encrypted ZIP file, I zipped it up with 7-zip, [7-zip.org] and ran the resulting zip archive through PGP [pgpi.org] to encrypt it. Archiving and encryption are separate. However, a flag for tar to run the final archive (after bzipping) through
Re:An issue for Windows users mainly (Score:2)
Or of course you cuold encrypt to your public key, if you have one setup.
Re:An issue for Windows users mainly (Score:3, Insightful)
Re:An issue for Windows users mainly (Score:2)
I use Linux almost exclusively. Even when using windows, I tend to just have VNC onto a linux box. Interoperation with Windows isn't a priority for me, that's all I'm saying...
Simon
Re:An issue for Windows users mainly (Score:2)
If it's not important you can ignore the mail or request an archive in some other format. But there are cases where that's not an option.
Re:An issue for Windows users mainly (Score:2)
What's good in this? (Score:3, Insightful)
In other words, the standard is still fragmented, the new thing here is that both software now support both standard fragments, both double in size, and neither is more interesting for the end user than the other.
I wonder if 7zip will support both? (Score:5, Informative)
Oh yeah and 7zip is under the LGPL license
Re:I wonder if 7zip will support both? (Score:3, Insightful)
Re:I wonder if 7zip will support both? (Score:5, Informative)
Well, no. 7zip's 7z format is generally FAR superior to bzip2 in terms of compression ratio.
A few examples:
doom2.wad: 14604584 bytes
doom2.wad.bz2: 5868846 bytes
doom2.7z: 4560296 bytes
All MIDI files I've made: 8146186 bytes
music.tar.bz2: 1007529 bytes
music.7z: 630357 bytes
The Python-2.3.2 source code:
unpacked: 33378982 bytes
python.tar.bz2: 7216151 bytes
python.7z: 6034907 bytes
Those might not even be optimal values. 7z lets you customize a number of parameters (dictionary size, etc) at the expense of compression and decompression speed.
Also note that the 7z format is modular and can use any compression method supported by the program, including bz2. More info on Wikipedia [wikipedia.org].
Re:I wonder if 7zip will support both? (Score:2)
Re:I wonder if 7zip will support both? (Score:2)
Re:I wonder if 7zip will support both? (Score:2)
Merry Poppins Encryption (Score:4, Funny)
Zip-a-dee-do-da
and the other encryption scheme:
Zip-a-dee-day
They could even create new encryption algorithms based on finding the primes of "supercalifragelisticexpealidocious" in various base-N counting systems...
Ooohhh.. what fun. Makes me want to dance on the rooftops with a bunch of chimney sweeps, seeing songs about PKWare and WinZip... Next thing I know, I'm going to get hired as a Window cleaner...
Why bother? (Score:5, Interesting)
The new standard these guys may agree will have recieved little public analysis when it is fielded.. Not something to trust at all!
Simon.
Re:Why bother? (Score:2)
What a bizzar combination! Why bother about zip, if you can use along with tar either gzip or bzip?
Re:Why bother? (Score:3, Informative)
Re:Why bother? (Score:2)
RAR (Score:5, Informative)
That it happens to use the superior RAR format makes the decision easy for me. We're installing it at our company too, since it isn't even a hard to use archiver for geeks in any way. I know about for example bzip2 and 7-zip, but 7-zip still seems like a rather immature archiver, although it's interesting. The problem is the lack of a good feature set besides the core archiving part. And the official bzip2 package compiled for Windows doesn't come with a GUI so that makes it a bit less useful to me at least, especially when RAR has a comparable compression ratio. Sure, I can use a command line archiver, but I wouldn't like to.
The only downside I can see is that RAR is a closed source format, with only the decompressor being open.
Sometimes, I think it's better to not have two different companies trying to get control over a single format.
RAR is a retarded closed format. (Score:2)
And remember kids, you get the best results when you bzip2 -9!!!
Re:RAR (Score:2)
RAR is used so (relatively) rarely that the download tine and bytes saved by RAR is wasted because I have to find the decomressor, even if I have a local copy.
I'm not sure if it would save much on the server side because the webmaster would have to deal with complaints that
Re:RAR (Score:2)
See how "superior" the RAR format is when you want to extract a single file from the end of a 5 GB archive file.
ZIP is O(1) -- you can extract that file almost instantly, no matter where in the physical file it resides. RAR is O(n), where n is number of bytes in the archive before the target file -- be prepared for a long wait to get to that file.
Re:RAR (Score:2)
Re:RAR (Score:2)
monolithic (Score:2)
If the issue is security... (Score:3, Informative)
...then both share a common flaw: you have to unpack the container to work on the files within, and that leaves the unpackaged files open to interception.
I've been using ScramDisk [clara.net] to store my critical data. For those using a newer OS than I do, there is an updated version called DriveCrypt [drivecrypt.com]. Both gves you the choice of what sort of encryption to use and you can use up to four passwords on any given file. It also supports stegnography.
In short, I don't give a rats ass about what sort of encryption PKZIP or WinZip supports - if the file contains things I want protected, I'll zip it as normal and then drop it into a ScramDisk container.
Re:If the issue is security... (Score:2)
> leaves the unpackaged files open to interception.
>
> I've been using ScramDisk to store my critical data.
Bad news: your files may still be open to interception. When you open them with applications like Photoshop or MS Office or WinZIP, temporary copies are created outside of the container. Usually this is C:\WINDOWS\Temp\ or a temporary folder within your user home directory (for Win2K/XP).
If your computer
Creeping Featurism (Score:5, Insightful)
Both sides are competing using incompatible creeping featurism. Last I looked, Zip applications where supposed to combine and squash files (and that was enough).
What should be done is to separate the operations:
- file browsing (WinRAR's interface trumps both)
- archiving (combining files)
- compression
- encryption
and implement the latter three as functions of the first using plugins (and let the user choose).
Incidentally, Zip's file format (directory last) sucks. It is practically impossible to do the following using zip:
tar Bcf - . | gzip -1c | rsh -n over_there gzip -dc | tar -C
To this end, plugins suggested above should be written as filters where possible.
I have no problem with browser-like interfaces combining other functions, but the Golden Rule still stands: One Tool, One Job.
Re:Creeping Featurism (Score:2, Informative)
tar Bcf - . | gzip -1c | rsh -n over_there 'gzip -dc | tar -C
And YES, I know there are Good Reasons why zip has the directory last. I just don't see they're universally necessary.
Re:Creeping Featurism (Score:2)
- file browsing (WinRAR's interface trumps both)
- archiving (combining files)
- compression
- encryption
I can see two good cases where combining these funcions ala zip is preferred: random access and dealing with already compressed content. Tar+gzip/bzip sucks from a performance standpoint for random access. Also Zip is at least somewhat intelligent about recognizing and skipping over non-compressible content. If you want random access to encr
Re:Creeping Featurism (Score:2)
Trapped by pkware! (Score:4, Interesting)
In the mid-90's they wanted to migrate off of their crap sequent boxes to something better.. Unfortunately, pkware refused to accomodate them by porting the library version to SGI.
The company was in a bit of a panic as the sequent gear was no longer a viable solution. New customers and scalability problems were rapidly increasing..
I suggested that they simply decompress on the Sequent and re-compress on the SGI with a better algorithm (source). Forget using pkware. The migration could have been automated such that customer requests resulting in a de-compress would re-file the data in the new system. Requests would check the new servers first. Pretty simple. Batch conversions could occur during off-peak times.
Nope. Too easy. That would not have been a sufficient crisis.. People would not have looked busy enough.
The amount of money they were offering pkware finally became sufficient for them to do a version for SGI. So they kept using pkware.
Oh yeah.. They re-hired the guy who originally decided to use pkware (as a consultant).
Unicode (Score:4, Interesting)
Compromise? (Score:3, Funny)
Somehow, the word compromise looks wrong in this place... but maybe it describes the security level appropriately? :)
Is Pkware still around? (Score:2, Funny)
Stuffit (Score:2)
Re:Easy to crack? (Score:5, Interesting)
The breaking of zip-encryption was considered to be quite a feat when it happened in the middle of the 90's, if memory serves me correctly.
Re:Easy to crack? (Score:3, Insightful)
BTW, the same doesn't quite hold true for PGP/GPG users because they use a key that includes much more entropy than
Re:Easy to crack? (Score:5, Interesting)
A-Z,a-z,0-9 and a few special chars makes a 24 char password contain 128 bits of entropy. That's secure enough for everyone using symmetric ciphers.
Re:Easy to crack? (Score:2)
Actually, my password is: "easy to guess".
Nobody seems to have guessed it yet.
Re:Zip open public domain standard? (Score:2)
When was the last time you payed for Winzip? They have this great feature call "evaluation period", with an endlessly renewable period.
Re:Zip open public domain standard? (Score:2)
WinRAR (Score:2, Informative)
I love it, use it and bought it!
Re:WinRAR (Score:2)
That's the best compression/encryption you can get. And for $0, the cost/benifit ratio is infinite!
Re:How many people really use encrypted Zip files (Score:2)
Re:How many people really use encrypted Zip files (Score:2)
Re:How many people really use encrypted Zip files (Score:2)
moderator abuse (Score:2)
Re:Meh.. (Score:3, Informative)
Encrypted (open PGP), and uses less disk space/bandwidth than RAR files.
It's easy as well. In Konqueror 3.2, right click on a file or folder, and choose "Create bzipped archive", then right click on the
Re:Meh.. (Score:2, Informative)
Um, no. For all the files I've ever archived, RAR ends up about 5-8% smaller than tar + bzip2.
Bzip2's advantage that it's free and open (and compresses better than the archaic zip and gzip). It does not compress better than RAR.
If you want to champion a free compression tool, I suggest 7-zip, which does often do better than RAR, but has a rather pathetically small user base.
Re:Meh.. (Score:2)
Re:Meh.. (Score:2)
Re:Meh.. (Score:2)
Re:Meh.. (Score:2)
Technology wise WinRAR is a good program. But it's about as usable as a circa 1995 app for X11.
Re:How is Zip related to BZ2 and GZ (Score:2, Informative)
As I've understood it, ZIP compresses files one by one. "Tar and feather" compression, on the other hand, is based on merging the files in an archive and then compressing the whole lot. This may result in a slightly better compression ration because multiple files can be examined at single time (for example, if you're compressing text files, like source code, the similarities in two files might be picked up in a single compressed block).
Also, tar and the future formats are "native" *NIX formats, so the fi
Re:How is Zip related to BZ2 and GZ (Score:2)
I also doubt that there's that much opportunistic compression occuring. I have a special-purpose tarball engine that resets the compression engine for each file. (Why? It also maintains a separate index file mapping filename to file offset - searchable compressed tarballs!) The cost of resetting the c
gpg or pgp (Score:2, Troll)
But if you need content protection of your archives in Linux, then consider either pgp or gpg (or both - gpg is just a modern and open re-implementation of the famous in the past pgp). I used both and never had any problem.
Re:how was that a troll? (Score:2)
I propose Slashdot owners to sell moderating karma while keeping meta-moderating karma being earned. That would keep random boys from disturbing serious discussions.
Alternatively, I recommend to change the karma earning rules. Now it's easier to get karma on fresh account then when you are a veteran here. For
Re:How is Zip related to BZ2 and GZ (Score:3, Informative)
Depends on how you look at it?
Gzip is GNU's version of zip and was made - as in most cases - as a Free alternative to avoid problems with patents (LZW, I believe in this case). Gzip can only create archives with single files, which is okay, because this is where Tar comes in.
Tar (the Tape Archiver), as you know simply stores multiple files in a single file. You could create the file on a tape drive (hence the name), bu
Correction ... (Score:2)
Of course, that should have been: 'gzip -c'. As in compress to stdout. Sorry. :-)
I think you're a little confused. (Score:2)
Meanwhile, WinRAR can do whatever they damn well please.
The reason why WinZIP is so popular is because it integrates well into the OS, although that market is dwindling since XP has built in support for it, and InfoZIP does just a good a job on the *nix side (as do the GNOME/KDE parts that integrate it into each respecti
Zip is basis of Java .jar/.war/.sar/.ear/... (Score:2)