Replies: 5 comments 6 replies
-
That information is now available in the docs folder. |
Beta Was this translation helpful? Give feedback.
-
Thanks @nmoinvaz given your use of new headers, I assume the intention with this change is not to make a solution that is binary compatible with the pkzip CD encryption, but to create an equivalent parallel solution to the same issue? I the author of zipdetails, so I will want to add support for your new headers at some point. Is the current implementation a work-in-progress, or is it good to go? A few random observations after a very quick play via the
Once I get some time, I'll dig further into the edge conditions. |
Beta Was this translation helpful? Give feedback.
-
You are correct; I did not make a solution that is compatible with PKZIP's CD encryption because that feature has different licensing restrictions that are mentioned in the PKZIP app note.
I'm not exactly sure what you mean by "encrypted central directory by setting in the GP flags. Is that a valid use case". If I remember correctly (it has been a while since I last looked at this stuff), it is a two step process:
Certificates come into play to validate the hash of the zip entries if that is desired, and that certificate info is stored in extra field data for the zip entry along with the hash info. |
Beta Was this translation helpful? Give feedback.
-
@nmoinvaz above says: That information [How to Create a Secure Zip] is now available in the docs folder. Is there an example of the actual code / function calls required to actually create one from a list of files as I've searched and manually looked in various files and can't find anything? |
Beta Was this translation helpful? Give feedback.
-
Ahh. This has defines, although unfortunately neither defines nor enums are used in the primary code, so you have to keep your fingers crossed you've guessed the correct one for a particular parameter This has the option definition This has code for setting passwords when a zip job is added This is where main() takes the aes/pwd/etc parameters |
Beta Was this translation helpful? Give feedback.
-
In #141 (comment) it says this about Secure Zip
Don't see anything in https://github.com/zlib-ng/minizip-ng/wiki
Beta Was this translation helpful? Give feedback.
All reactions