coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

FAILED checksums using sha256sum in windows 11

Open wu0lss4j opened this issue 1 year ago • 1 comments

I've just noticed this error when checking hashes of image files (like .HEIC). Note: this error does not occur when checking hashes of text files.

Two ways to generate hashes:

  1. sha256sum * > hash.256
  2. sha256sum --tag * > hash.256 -- BSD style

The first yields hash *filename ← note the asterisk The second yields SHA256 (filename) = hash ← filename between parenthesis

Regardless, when using sha256sum -c hash.256 will always yield FAILED

If I copy both the hashes files and the hash.256 to a linux install, it will check hashes just fine, albeit some formatting is necessary to the filename component.

wu0lss4j avatar Aug 18 '24 13:08 wu0lss4j

Does this only happens with several image files ? Could you give us a corpus of files you can reproduce the errors on ? I would understand that you don't want to share private photos.

RenjiSann avatar Feb 27 '25 00:02 RenjiSann