11
Support and Feedback / Re: File Verifier does NOT check sha files
« Last post by SwissKnife64 on August 31, 2026, 12:03:01 »To ignore the format marker for SHA checksum is a HACK, that will work in most cases, but not in all.
SHA1 file can be generated in text or binary mode, and on Linux the default is text!
Command in Linux for text mode: sha1sum -t filename.sha1, the resulting checksum file has " " as format marker in front of the file name
Command in Linux for binary mode: sha1sum -b filename.ext, the resulting checksum file has " *" as format marker in front of the file name
Without an option, text mode is used
So only reading the marker and calling the calculation in the correct mode is the 100% solution.
SHA1 file can be generated in text or binary mode, and on Linux the default is text!
Command in Linux for text mode: sha1sum -t filename.sha1, the resulting checksum file has " " as format marker in front of the file name
Command in Linux for binary mode: sha1sum -b filename.ext, the resulting checksum file has " *" as format marker in front of the file name
Without an option, text mode is used
So only reading the marker and calling the calculation in the correct mode is the 100% solution.
Recent Posts