Repository navigation
Checksums
The Checksums plugin computes file checksums and compares them with published values. Switch it on in Settings → Plugins → Checksums.
Properties of a file (Alt+Enter) gets a Checksums group with MD5, SHA-1, SHA-256 and SHA-512. All four are computed in one read of the file, in the background. A large file shows "Calculating… n%" until it is done. Closing Properties stops the computation.
The comparison with the clipboard updates while Properties is open, so copying a hash afterwards works.
Ski compares the four values with two sources:
| Source | Example |
|---|---|
| The clipboard | A SHA-256 copied from a download page |
| A checksum file in the same folder | The file's own: name.sha256, name.sha256sum, name.sha1, name.sha1sum, name.sha512, name.sha512sum, name.md5, name.md5sum. Shared lists (any letter case): SHA256SUMS, SHA1SUMS, SHA512SUMS, MD5SUMS, their .txt forms, sha256sum.txt, md5sum.txt, CHECKSUMS, checksums.txt
|
The result appears in the Checksums group: "Match: the clipboard holds the SHA-256", "Matches checksum file", "Does not match checksum file", or "No match with the hash on the clipboard".
Checksum files may use the GNU format (<hash> <name>) or the BSD format (SHA256 (<name>) = <hash>).
Context menu of a checksum file → Verify files listed checks every file the checksum file names. It runs as a file operation with progress, pause and cancel, and reports the result as "n OK, n failed, n missing".
Names in the checksum file that point outside its folder (../, absolute paths) are refused.