Fornaxian / pixeldrain_web

Web interface for pixeldrain.com
GNU Affero General Public License v3.0
83 stars 10 forks source link

Encrypted zip files not properly supported #14

Open Fornax96 opened 6 months ago

Fornax96 commented 6 months ago

Downloading files from an encrypted zip archive is currently undefined behaviour.

Some report that it downloads a useless encrypted byte stream, in other tests you get a compression error. It seems to depend on what software was used to build the encrypted archive.

The zip explorer API should detect encryption and give proper errors when a file can't be decompressed due to encryption. Maybe we can even decrypt the files server-side.