-
Notifications
You must be signed in to change notification settings - Fork 200
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
Adress sanitycheck for aes encrypted zip #143
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request. In general it looks good, but several minor issues to fix. As a first pass, please rebase these to atomic commits. Each commit should be tightly focussed on one thing. For example:
Merge or drop typos and bad commits. Split up @18d7f9c into two commits. You can use a Other general comments:
|
Hi thanks for your comments. I have just integrated those now. Few comments on my side:
|
OK, a couple more minor edits and we should be done. Thanks for your work!
That looks fine.
You can try corrupting a local header by open an |
… corrupted AES256 archive)
I have integrated your last comments. I have managed also to corrupt the local header of your original small-test-encrypted-aes file by zeroing out some of the local header fields (versionNeededToExtract, generalPurposeBitFlag, compressionMethod, lastModFileName). This was feasible by identifying the local header signature in the file (504b 0304) and the offset for the next fields i wanted to zero out. I hope this looks good to you now :-) - have a nice w.e! |
I'm sorry for not getting back to you sooner -- had a busy month, both in life and work. I really do appreciate the work you've put into this! However, you'll need to be careful to respect the project style throughout. I see still quite a few bracket style exceptions. Please rebase to integrate any style fixes with the commits that originated them. Also, where you've made certain methods part of the class extension, both the class extension methods and their implementation should be part of the same commit. This is so that we can just inspect one commit and see everything that's needed to make it work there, rather than having to inspect multiple commits. Also helps Also, when I meant "corrupt the original test archive", I actually meant to do this in the test case e.g. in |
No description provided.