Lion Cipher Lab

Verify a software release signature and catch a tampered artifact

Why it matters

Supply-chain attacks — where the software you install is compromised before it ever reaches you — are now one of the most damaging classes of breach, because one poisoned release fans out to everyone who trusts it. The instinct most people have, "I checked the checksum, so the download is safe," is exactly the gap attackers walk through: whoever controls the download page controls the checksum next to it. Learning in your hands why a signature tied to a trusted key is a fundamentally stronger promise than a checksum — and why even a signature is worthless if you trust the wrong key — is the…

What you'll learn

Steps in this lab

  1. The question a checksum can't answer
  2. Set up a scratch folder and confirm openssl is there
  3. As the maintainer: create a signing key pair
  4. As the maintainer: build a release, then publish a checksum AND a signature
  5. As the user: verify the honest release (both checks pass)
  6. As the attacker: tamper the file AND re-publish a matching checksum
  7. The payoff: checksum says OK, signature says FAIL
  8. The honest catch: a signature you verify against the WRONG key
  9. How the pros do it — and what to actually reach for

Open the full interactive lab →