Coder Social home page Coder Social logo

Comments (3)

gfs avatar gfs commented on May 18, 2024

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.

wdDiamant avatar wdDiamant commented on May 18, 2024

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.

gfs avatar gfs commented on May 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.