-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
There are JS libraries available for various encryption algorithms.
My understanding of how JSZip works is when I ask for a file to be loaded from the archive, it will automatically be decompressed for me.
I believe zip files are encrypted after they are compressed, so I will need to perform decryption before the decompression occurs.
Would it be possible to
- Provide an option to allow encrypted archives (simple flag), provided that
- We will be providing methods that will be executed BEFORE or AFTER the decompression occurs
So for example, I might set a beforeDecompress listener so that whenever async is called, it will grab the entry, run it through the callback, and then proceed to decompress it as usual.
My assumption is that the file directory can be read the same way as a zip archive without any encrypted entries.
Reactions are currently unavailable