3 ms·
> I to this day still can't find a way to update `unzip` to a version that supports AES on my Debian VPS. Maybe because there is none? I quickly googled and fo
by MaKey 2y ago
> I to this day still can't find a way to update `unzip` to a version that supports AES on my Debian VPS.
Maybe because there is none? I quickly googled and found this bug: https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/220654 https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/220654
For archives encrypted with aes-256 p7unzip-full can be used.
This is not a Linux only issue though, the native Windows unzip tool also doesn't seem to support aes-256 (yet): https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-add-aes-256-decryption-support-for-zip/3539e845-0e94-4693-aae3-c17099f885aa https://answers.microsoft.com/en-us/windows/forum/all/how-do...
- thrdbndndn 2y agohttps://stackoverflow.com/questions/60674080/how-to-open-winzip-password-protected-archive/60676298#60676298 https://stackoverflow.com/questions/60674080/how-to-open-win... The author in this answer clearly has a version of unzip that can detect "AES_WG". Unfortunately they only vaguely said (in one of the comment) "Since then the main Linux distros have added patches to fix various issues" and didn't specify which distro.
- MaKey 2y agoHe also says: > Your best bet is to yry 7z to uncompress the zip file with AES encrypted entries. So why not just do that and call it a day?
- thrdbndndn 2y agoBecause this does not only happen to unzip and I want to find a solution in general.
- MaKey 2y agoWhat do you mean exactly with "this"? The upstream unzip doesn't support AES_WG. How should a general solution look like?
- thrdbndndn 2y agoFind a working binary (or source code, then compile one) and replace it manually. Is it not possible?