{
  "id": 21401322,
  "title": "A matching SHA-256 checksum is useful only with a trustworthy reference",
  "url": "https://urgent.news/2026/11/23/a-matching-sha-256-checksum-is-useful-only-with-a-trustworthy",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T13:40:01.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/pki-channnel/a-matching-sha-256-checksum-is-useful-only-with-a-trustworthy-reference-43od"
  },
  "original_language": "en",
  "account": "Downloading an installer and comparing its SHA-256 checksum with the value provided can only confirm that the file's bytes match the digest, provided the calculation is accurate. It does not independently verify the identity of the file's publisher. To make a publisher's decision, a trustworthy reference is required. According to NIST FIPS 180-4 — Secure Hash Standard, it is essential to calculate the checksum separately, without running the download itself.\n\nTo ensure correctness, compute the SHA-256 hash of the file, e.g., using OpenSSL on macOS/Linux or PowerShell on Windows. Verify that the release page specifies the SHA-256 version, the same operating system, and architecture. Remember that a Linux archive and a Windows installer will not have the same hash.\n\nIf the hash values differ, it could be due to incomplete download, wrong release asset, changed file, or malicious replacement. However, a mismatch alone does not indicate the specific cause. Record the expected value, observed value, release version, and source URL for future reference. Do not attempt to \"repair\" the test by manually changing the expected digest to match the file you have.\n\nA mismatch indicates that the bytes do not match the reference. This confirms that the file has been tampered with, but it does not confirm that the publisher's identity has been compromised. For a stronger guarantee of the publisher's identity, a digital signature is necessary. A digital signature, as per NIST FIPS 186-5 — Digital Signature Standard, allows verification of data using a public key associated with the signer. However, fetching the public key from the same untrusted source as the signature does not establish the publisher's identity. Follow the publisher's documented verification process instead of copying an OpenSSL command for a different format.",
  "summary": "You download an installer and find a SHA-256 string next to the download button. Your local hash matches. What have you learned? You have evidence that your file matches the bytes represented by that digest, assuming a correct calculation. You have not independently established who published the file if an attacker could replace both the installer and the digest on the same page. A checksum needs…",
  "key_points": [
    "SHA-256 checksum confirms file bytes match, not publisher identity",
    "Calculate checksum separately, not during download",
    "Trustworthy reference required for publisher verification"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}