Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot unlock password-protected 7Z/ZIP #477

Open
jman50 opened this issue Nov 4, 2019 · 34 comments
Open

Cannot unlock password-protected 7Z/ZIP #477

jman50 opened this issue Nov 4, 2019 · 34 comments

Comments

@jman50
Copy link

@jman50 jman50 commented Nov 4, 2019

Solution

  • With ZIP files note that macOS 10.15 Catalina's bundled Archive Utility does not support ZIP AES encryption. Check you're opening the encrypted file using Keka. macOS 11.0 Big Sur DOES support ZIP AES encryption.
  • With 7Z files note that macOS 10.15 Catalina's and 11.0 Big Sur bundled Archive Utility supports 7Z extraction, but does not support AES encryption. Check you're opening the encrypted file using Keka.

Keka password dialog:

Screenshot 2019-11-10 at 10 10 20

Archive Utility password dialog:

Screenshot 2019-11-10 at 10 10 23

Original issue

Steps to reproduce on macOS Catalina (but happened before upgrade)

  1. Compress a file with a password in 7z format using Keka.
  2. Double-click the file
  3. Using Keka, try to use the password to unlock it

Actual:

  1. The password dialog keeps re-appearing over and over, and never extracts the file

  2. The dialog box goes away and the file is extracted.

Thank you for looking into this.

@aonez
Copy link
Owner

@aonez aonez commented Nov 4, 2019

@aonez aonez added this to the 1.1.22 milestone Nov 4, 2019
@aonez aonez self-assigned this Nov 4, 2019
@aonez
Copy link
Owner

@aonez aonez commented Nov 4, 2019

Is this with the stable release (1.1.21) or the development build?

@jman50
Copy link
Author

@jman50 jman50 commented Nov 4, 2019

@aonez
Copy link
Owner

@aonez aonez commented Nov 4, 2019

@jman50 can you share a sample file that fails for you?

@jman50
Copy link
Author

@jman50 jman50 commented Nov 4, 2019

@aonez aonez added more info needed and removed bug labels Nov 7, 2019
@aonez
Copy link
Owner

@aonez aonez commented Nov 7, 2019

@jman50 can you share some sample file to reproduce this issue?

@jman50
Copy link
Author

@jman50 jman50 commented Nov 7, 2019

@aonez
Copy link
Owner

@aonez aonez commented Nov 8, 2019

@jman50
Copy link
Author

@jman50 jman50 commented Nov 8, 2019

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented Nov 8, 2019

ps: filebin.net is now blocked by Chrome and Safari safe browsing lists, maybe use another one

https://workupload.com

@aonez
Copy link
Owner

@aonez aonez commented Nov 8, 2019

I downloaded without any issue @gingerbeardman. @jman50 I’lo test those in a while.

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented Nov 8, 2019

Ah, maybe my setup then, I use Adguard DNS.

(so ignore me)

@aonez
Copy link
Owner

@aonez aonez commented Nov 8, 2019

@jman50 just tried in a Mojave installation (I don’t have a Catalina at hand right now) and extracted the files without issue.

While I don’t have a Catalina to test (tomorrow), maybe you can try to reset the preferences of Keka:

https://github.com/aonez/Keka/wiki/Uninstall-Keka

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented Nov 8, 2019

both uncompress for me

@aonez
Copy link
Owner

@aonez aonez commented Nov 8, 2019

@mikecarlson
Copy link

@mikecarlson mikecarlson commented Nov 8, 2019

I am having the same issue compressing to 7z format with a password. The password is not accepted. I am on Mac OS X Catalina.

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented Nov 9, 2019

@aonez could this be App Translocation side-effect?

@jman50
Copy link
Author

@jman50 jman50 commented Nov 9, 2019

@aonez
Copy link
Owner

@aonez aonez commented Nov 10, 2019

Both files extracted on macOS 10.15.1 Catalina.

@jman50 can you enable the verbose mode, reproduce the issue and let me know what the Console.app says? Specifically you need to enable those:

defaults write com.aone.keka DevLog -bool true
defaults write com.aone.keka DevLogReader -bool true

@mikecarlson is your problem about extraction or compression?

@aonez aonez changed the title Cannot unlock password-protected 7Z in Catalina Cannot unlock password-protected 7Z/ZIP in Catalina Nov 10, 2019
@stale stale bot added the stale label Dec 3, 2019
@aonez aonez added blessed and removed stale labels Dec 3, 2019
@ShreeshaN
Copy link

@ShreeshaN ShreeshaN commented Dec 8, 2019

I still have the same issue.

  1. Zip a file with Keka by giving it a password (.7z)
  2. Unzip using Mac's (Catalina OS) default Archive utility, it prompts for password
  3. You enter the right password but the dialog keeps re-appearing asking to enter the correct password.

But it totally works fine if unzipped with Keka

@aonez
Copy link
Owner

@aonez aonez commented Dec 9, 2019

@ShreeshaN as said in the first and last comments macOS does not support AES encryption. Fill a bug report with Apple if you want them to support it. Otherwise use ZIP without AES, that is supported.

@ukushu
Copy link

@ukushu ukushu commented Dec 22, 2019

I still have the same issue.

  1. Zip a file with Keka by giving it a password (.7z)
  2. Unzip using Mac's (Catalina OS) default Archive utility, it prompts for password
  3. You enter the right password but the dialog keeps re-appearing asking to enter the correct password.

But it totally works fine if unzipped with Keka

Just change your default archiver to Keka. This will resolve your problem.

@CharlotteFallices
Copy link

@CharlotteFallices CharlotteFallices commented Mar 11, 2020

......我尝试了重现这个问题:

  1. 我在一个新的macOS里下载了Keka并创建了一个文件夹
  2. 我将文件夹拖放至Keka
  3. Keka使用默认配置压缩了它
  4. 我关闭了Keka
  5. 我把它们通过USB移动到了我的macOS中
  6. 我双击并解压了它(我的默认解压缩工具是Keka)
  7. 我设置了加密的压缩
  8. 我将它拖移到Keka
  9. 然后我解压了它
  10. 没有出现任何问题

这个是我使用的压缩文件和系统日志
上面应该有一些截图,不过它们太大了,你可能需要稍等一会才能看见它们

@aonez
Copy link
Owner

@aonez aonez commented Mar 11, 2020

@CharlotteFallices so it compressed and extracted properly, right?

@Xopsy
Copy link

@Xopsy Xopsy commented Jun 12, 2020

Thanks for the solution. Whole evening trying passwords and saying to myself, "why is not working ?, I do not remember to change this password"

BTW, If you are using terminal to open and extract 7z files with passwords, you can use this alias in your terminal

alias keka='open -a Keka '

for example: keka myFileWithPassword.7z

It will open keka by default and you won't get any problem with the extraction.

Repository owner deleted a comment from stale bot Jul 1, 2020
@m0zgen
Copy link

@m0zgen m0zgen commented Oct 1, 2020

Hello, I found this problem in the Big Sur release (macOS Big Sur 11.0 beta)

Steps to reproduce:

  1. Create 7-Zip archive with password (I tried different passwords like as '123', 'test', 'Te$t' and etc)
  2. Try to unpack file.
  3. The password dialog keeps re-appearing over and over, and never extracts file (as if the password doesn't match)

Note: File successfully extracted from command prompt with open -a Keka test-keka.7z

I created archive with password 'test', you will can try extract with this password - https://filebin.net/b4zaxknryd4qahne (test-keka.7z) or you can try download file from direct link - https://filebin.net/b4zaxknryd4qahne/test-keka.7z

P.S. File link expires from 1 week

@aonez aonez changed the title Cannot unlock password-protected 7Z/ZIP in Catalina Cannot unlock password-protected 7Z/ZIP in Catalina and Big Sur Oct 1, 2020
@aonez
Copy link
Owner

@aonez aonez commented Oct 1, 2020

@m0zgen just updated the main issue to state that Big Sur supports AES encrypted ZIP files but still no support for AES encrypted 7Z files.

Note this is not a new issue, simply they did not added support to AES 7Z in the upcoming Big Sur. Thanks for the feedback!

@hazemfm
Copy link

@hazemfm hazemfm commented Oct 5, 2020

I don't know if this the same issue or not. but came across a .zip file that is password protected with numbers only.
when I doubled clicked the file, it automatically extracted the file without asking me for a password.
tried unzip command in the terminal, and it asked for a password. tried 7zip in windows and it also asks for a password.

@aonez
Copy link
Owner

@aonez aonez commented Oct 6, 2020

@hazemfm can you share the file? here or at info@keka.io

@aonez aonez pinned this issue Jun 1, 2021
@aonez aonez mentioned this issue Jun 9, 2021
@aonez aonez changed the title Cannot unlock password-protected 7Z/ZIP in Catalina and Big Sur Cannot unlock password-protected 7Z/ZIP Nov 12, 2021
@tkrakowian
Copy link

@tkrakowian tkrakowian commented Dec 2, 2021

Solution is to set before unzipping the Keka as a default program to opening .7z files - the problem appears when the default app for .7z is "Archive utility"
Right mouse button on .7z file -> Get info -> "Open with:" => set "Keka (default)"
Propably before this is use "Archive utility" which message pop-up is the same as Keka pop-up to fill in password.

Repository owner locked as resolved and limited conversation to collaborators Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
12 participants