-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rewrite the extractor to use 7zip instead of zipfile #21
Comments
The following change set works with
|
Our sflock changes were just merged into @doomedraven's fork (CAPESandbox/sflock#7) that uses 7z+zipjail for zip files. I think that problem will be solved as we switch to the https://pypi.org/project/SFlock2/ package. |
Even better! 👍 |
Hello, all, I know, this is not related but just headups, just updated sflock2, 0.3.16 and Commit
|
Released 1.2.0 that includes SFlock2. Problem with unknown compression methods should be fixed. |
Issue: we don't support newer encryption methods, because Python's zipfile can't handle them:
Solution: use 7z to extract files. The downside is that we lose sandboxing provided by sflock, but 7z exploit is IMO highly unlikely (I know, famous last words).
Other solutions: find a secure pure python library for zip files? Something else?
The text was updated successfully, but these errors were encountered: