FAILED checksums using sha256sum in windows 11
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:
-
sha256sum * > hash.256 -
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.
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.