M HYPE SPLASH
// news

MAC OSX: How to unzip password protected .zip file

By John Peck

I need to unzip a .zip file which is password protected.

I am able to unzip the .zip file using a windows PC with 7zip.

I tried several tools Keka, iZIP, unarchiver ... and got always an answer like this "...wrong password". But I proofed the password with the windows PC.

So I tried it with commandline, in this way:

unzip -P password my.zip -d my_folder

But I see the following error:

...unsupported compression method 99

So how can I unzip this file under MAC OS X?

6

5 Answers

unsupported compression method 99

Means the compression algorithm (99 which is AES encryption) isn't supported.

For OSX the only program supporting this I know of it p7zip (Available with brew and other package managers too).

8

Keka for Mac os really works perfect with zip protected files (error 1 type or unsupporter compression method 99 in Terminal) > Keka prompt for password then you must fill in something with any letters (eg DEMO), then it does some work, then it tells you it failed...

BUT it did NOT : check it out, your unzipped map is just right there besides your zip file. :-)

I used 7-Zip 21.02 alpha (2021-05-06) for Mac console (7z2102-mac.tar.xz), downloaded from the 7-zip.org download page, and it worked just fine with AES password protected zip files on Mac with Catalina. Do a -h instead of guessing how to use it.

If you (like me) are trying to unzip ipa file and gets the similar error.

skipping: Payload/ unsupported compression method 99

Check this project it's worked for me.

It's all about Apple's LZFSE compression:

I had exactly the same issue with a zipped pdf file (pwd protected) from a utilities provider. Tried unsuccessfully with Terminal via command line. In the end I downloaded Keka for Mac, and when I tried to unzip the file using Keka it prompted me for the password, and opened the file! Hope this saves someone else some time.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy