GithubHelp home page GithubHelp logo

Hash files larger than 2GB about checksum HOT 2 CLOSED

chocolatey avatar chocolatey commented on August 19, 2024
Hash files larger than 2GB

from checksum.

Comments (2)

TheCakeIsNaOH avatar TheCakeIsNaOH commented on August 19, 2024

I've been unable to find any issues with checksuming large files. 4gb+ ISO files checksum just fine for me with checksum.exe

from checksum.

AdmiringWorm avatar AdmiringWorm commented on August 19, 2024

I have been trying to reproduce the issue that is linking to this issue to see if the problem is actually in the checksum library itself.

Unfortunately, I am seeing the same results as @TheCakeIsNaOH both when testing on Windows Server 2008R2 (for pure .NET 4.0 Support) and on Windows 11.

The following steps was exercised to try reproducing this issue:

  1. Run the following in PowerShell fsutil file createNew "$PWD\test-file-large.bin" "$(4GB)" (will create a new 4GB empty file)
  2. Run .\checksum.exe --file .\test-file-large.bin --hashtype md5 (repeat with the hash type specified for sha1, sha256 and sha512)
  3. Run .\checksum.exe --file .\test-file-large.bin --hashtype md5 --check <REPLACE_WITH_HASH> (Replace the mention of the hash with the checksum gotten in previous steps, and repeat for all hash types).
  4. Create a new 10GB file: fsutil file createNew "$PWD\test-file-very-large.bin" "$(10GB)"
  5. Repeat step 2 and 3 with the new created file.

The previous steps were repeated on both Windows 2008R2 and Windows 11.

Since it seem it is not a problem in the executable here, I'll close this issue and we'll need to look into where the problem is in Chocolatey CLI instead.

from checksum.

Related Issues (11)

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.