Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/holger

.nornir/checksum-deploy-guide.md

Verifying an upload with X-Checksum-*

Holger can check that the bytes it received are exactly the bytes you meant to send. Compute the digest of your file and pass it as a header on the upload; Holger recomputes it and rejects the request if they differ.

Do it

# 1. digest your artifact
SUM=$(sha256sum my-crate-1.0.0.crate | cut -d' ' -f1)

# 2. upload with the checksum header
curl -sS -X PUT \
     -H "Authorization: Bearer $TOKEN" \
     -H "X-Checksum-Sha256: $SUM" \
     --data-binary @my-crate-1.0.0.crate \
     https://holger.internal/my-repo/…

X-Checksum-Sha512 works the same way; send both to check both. The header is optional — omit it and the upload behaves as it always did.

Notes