Skip to content
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

can we use create and unzip password protected ZIP ? #93

Open
mianharisali opened this issue Jul 26, 2017 · 8 comments
Open

can we use create and unzip password protected ZIP ? #93

mianharisali opened this issue Jul 26, 2017 · 8 comments

Comments

@mianharisali
Copy link

No description provided.

@nadouani
Copy link

Same question: does this library allow creating archives with password protection?

Thanks

@toomasr
Copy link
Contributor

toomasr commented Aug 31, 2017

Wow, an unanswered issue. Yeah, no password support at the moment. Would need to do some research on this and see how doable is this.

@nadouani
Copy link

Cool thanks, we found just one library that supports that feature: zip4j but it seems to not be maintained :(

@reinra
Copy link
Contributor

reinra commented Aug 31, 2017

You could also call an external tool. zt-exec might be useful for that.

@toomasr
Copy link
Contributor

toomasr commented Aug 31, 2017

Ok, cool! Btw, which feature are you looking for exactly. I see that https://en.wikipedia.org/wiki/Zip_(file_format)#Encryption has some options. Wondering which to look at for possible implementation.

@nadouani
Copy link

Any option is enough for our project (https://github.com/CERT-BDF/TheHive). We just want to generate Zip archives that require a password (independently from the encryption strength)

@nadouani
Copy link

You could also call an external tool. zt-exec might be useful for that.

No, using an external tool is not a viable option for us unfortunately :(

@toomasr
Copy link
Contributor

toomasr commented Sep 2, 2017

I looked into this a little. Right now I see that to support passwords and encryption we would need to implement the ZIP layer fully rather than relying on the JDK ZIP support that just doesn't support passwords. This sounds like a huge undertaking though and maybe even a separate project to this. And then this project can choose which subsystem to use for example.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants