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
Create password protected archives #61
Comments
If this can't be done, can you point out which parts need to be modified in order to implement this feature? |
@adamhathcock It seems this project is not actively maintained. We're working on a big project and we had plans to use SharpCompress as part of it ... |
I'm still here but I'm not actively working on it. Others have contributed and asked questions and I try to answer them. However, my focus is elsewhere at the moment. As far as creating passwords, you'd probably want to modify the WriterFactory, as a starting point, to take the password. Then implement it on ZipWriter or other writers. Then the ArchiveFactory would do the same. |
I just reviewed the code. As far as I understand it is a matter of using PkwareTraditionalCryptoStream in the streams chain for writing data. It is, of course, if that class is fully implemented for encryption. I see this question was asked long ago. I need this too. Did somebody already did it or started doing it? I'm thinking about implementing this part but I would like to avoid double work and reuse what's already done but not added to the project. Please, let me know. |
I doubt anyone is working on it. Please do and submit a pull request :) |
Has there been any progress on this? I would need this feature.... |
You’re welcome to add it yourself. |
I have tried something. But having problems with the encryption data :/ |
Did you take a look at my commit? |
I didn't because I'm on vacation and I have no idea how to view whatever you're referring to. Please, make a pull request if you have something for review. |
Forget that :) |
Sorry, I would really like a diff. Pull Requests do work with a proper fork of the repo. |
now it has worked ^^ |
Is there any problem on the zip_encryption branch? Perhaps I can look into it. |
How can we set password when creating archives?
The text was updated successfully, but these errors were encountered: