Tool ยท in the project
Artifact verification
Checks what a release ships: checksums, signatures, the architecture of binaries, and the files in a package.
No illustration yet
catalog/tools/artifact-verification.svg This tool checks what a release actually ships, not the tree it was built from: checksums, signatures, the architecture of binaries, and the files in a package.
Finding it
Look in the release job in CI and in the release scripts: the step that writes the checksums and signs the artifacts
is where the matching check belongs. The package manifest (the files field in package.json, MANIFEST.in,
include in Cargo.toml) says what a package should contain.
Using it
- Checksums and signatures:
sha256sum -cagainst the published checksum file,gh attestation verifyfor a build attestation on GitHub,codesign --verifyon macOS,cosign verifyfor a container image. - Architecture:
fileorlipo -archsnames the architectures a binary was built for. - Contents:
npm pack --dry-run,cargo package --listortar -tflists what a package holds, so a missing or stray file shows before release. - Read back after upload: download the published artifact and verify that, not the local copy.
Examples: sha256sum, gh attestation verify, codesign (macOS), npm pack --dry-run (JavaScript), cosign
(container images).
Built from catalog/tools/artifact-verification.md.