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

Support encryption? #82

Open
zjzdy opened this issue May 25, 2022 · 5 comments
Open

Support encryption? #82

zjzdy opened this issue May 25, 2022 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@zjzdy
Copy link

zjzdy commented May 25, 2022

I want to uncompress archive with password.
Is there a way to do it or is there any plan to do it?

@otavio
Copy link
Member

otavio commented May 25, 2022

Not currently but we are open to accept a PR adding it.

@otavio otavio added the help wanted Extra attention is needed label Dec 4, 2022
@alandeev
Copy link
Contributor

alandeev commented May 27, 2023

I'm studying ways to implement it, I just realized that it's not supported :( friends who are rust experts, I found an implementation using libarchive in python, I'll try to implement it, but I'll leave it here in case something wants to implement.

Changaco/python-libarchive-c#109

edit1: i checked and did some tests and the implementation seems very simple, I will open a PR and soon I will add it here

@otavio
Copy link
Member

otavio commented May 27, 2023

Thank you, @hivexdev. Please know that I am open to review and help with anything you need. Just let me know how I can be of assistance.

@otavio
Copy link
Member

otavio commented May 30, 2023

@hivexdev news on your side?

@alandeev
Copy link
Contributor

alandeev commented May 31, 2023

@otavio
Sorry for the delay, I managed to implement it, but I ended up a little frustrated after I saw that libarchive does not support extracting encrypted files '.rar' format, I ended up leaving it aside, but anyway I opened the PR just by modifying the Iterator. I have another PR here that implements it in everything (I mean in the other extract functions besides ArchiveIterator), but it got a lot of changes and I didn't do the unit tests either, because of that I'm opening a PR just with the implementation in ArchiveITerator.

#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

3 participants