Skip to content

Add support for password protected archives#17

Merged
cabarnes merged 95 commits intosmartfile:masterfrom
Vadiml1024:extended
Aug 12, 2022
Merged

Add support for password protected archives#17
cabarnes merged 95 commits intosmartfile:masterfrom
Vadiml1024:extended

Conversation

@Vadiml1024
Copy link
Copy Markdown

This pull request combines patches from https://github.com/richnetdesign/python-libarchive
And my work to implement handling of password protected archives and building against latest version of libachive

@Vadiml1024
Copy link
Copy Markdown
Author

I Think i've fixed all issues

Comment thread libarchive/_libarchive.i
Comment thread tests.py Outdated
@Vadiml1024 Vadiml1024 requested a review from cabarnes August 10, 2022 23:54
Comment thread libarchive/__init__.py Outdated
@Vadiml1024 Vadiml1024 requested a review from cabarnes August 11, 2022 19:32
@cabarnes cabarnes changed the title Extended Add support for password protected archives Aug 12, 2022
Copy link
Copy Markdown
Member

@cabarnes cabarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. Just a couple more little cleanups and then this should be good to merge

Comment thread libarchive/Makefile Outdated
Comment thread libarchive/__init__.py Outdated
Comment thread setup.py Outdated
@Vadiml1024 Vadiml1024 requested a review from cabarnes August 12, 2022 14:50
Copy link
Copy Markdown
Member

@cabarnes cabarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the hard work to add this feature!

@cabarnes cabarnes merged commit 0b2eefb into smartfile:master Aug 12, 2022
@Vadiml1024
Copy link
Copy Markdown
Author

I'm having problem to use python-libarchive=4.1.0 on systems with libarchive.so.13 because
this version of libarchive does not have archive_write_set_passphrase function
This is the reason when initially my github workflow built libacrchive.so itself and embedded it and dependencies in the wheel.

@cabarnes
Copy link
Copy Markdown
Member

I am able to use it to create password protected archives on Ubuntu 20.04 and 22.04 without issue. They are using libarchive.so.13.4.0 and libarchive.so.13.6.0 respectively

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

Successfully merging this pull request may close these issues.

4 participants