Comments (3)
Hi @wdDiamant,
I can't reproduce this on completely unencrypted archives.
I am able to reproduce this when a 7z is created with a password which encrypts the files, but the filename decrypt option is disabled.
I am also able to reproduce the second issue you reported with encrypted RAR5 files. We do not have support for encrypted RAR5 files (which WinRar just calls "RAR") as the dependency which we use to parse rar files does not support them. Encryption is supported for "RAR4" files. However, the behavior expressed in the CLI does seem non-optimal.
For the 7z issue I'll check to see if there's something we can do on our end with how we call into sharpcompress and if not, perhaps file an issue with them.
For the rar issue, I'll also check if we can provide a better behavior, but without a dependency that supports RAR5 encrypted files we won't be able to extract those files only warn that they cannot be extracted properly.
from recursiveextractor.
Hi @gfs,
thanks for the answer. I forgot to mention, that i have this problem with encrypted archives only. Luckily u managed to reproduce the 7z issue i meant. I encountered exactly the same issue with encrypted RAR4 archives with the "Encrypt file names" option disabled. I am using RecursiveExtractor 1.2.10 and WinRar 6.21 to create the RAR4 archive.
from recursiveextractor.
@wdDiamant Thanks for the extra information. I can reproduce this on rar4 files which are encrypted with plain names as well.
This comes down to an issue with the way we were checking if the archive was encrypted/if a password was needed. The behavior differs between an encrypted archive with encrypted file names (which we were testing for) and those without encrypted file names and requires a tweak to how we check if the provided passwords are correct. This should be something we can fix in recursive extractor, likely this week.
from recursiveextractor.
Related Issues (20)
- Remove or fix Blazor interface
- RAR archives extracted in parallel fails HOT 3
- Improve tests to validate the correct contents of extracted files
- Clean up tests using DynamicData HOT 1
- Extract swallows timeout exception HOT 2
- Find Non-Indexed files in zips
- extracting .iso files in parallel with small batch size fails
- Refactor parallel behavior to perform only at top level
- .iso extraction with parallel causes deadlock HOT 2
- Timeout does not work for corrupt tar file HOT 4
- Timeout Should be Resiliant to Stalls in Extractor Libraries
- Refactor logging to use ILoggerFactory pattern
- Acces to the path denied HOT 2
- Migrate to LTRData/DiscUtils HOT 5
- Unable to delete the archive after extracting using extractor.ExtractToDirectory HOT 2
- Test Cases for Archives with Invalid File Paths HOT 1
- GC thread exception when extracting corrupt wim file HOT 4
- On .NET 7+ use System.Formats.Tar HOT 2
- IEnumerable<FileEntry> returned from Extractor.Extract is actually a List<FileEntry> HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recursiveextractor.