The log
Log. Each verification ends by sealing an attestation: a JSON record of what ran, in which environment, with what result. QED appends the attestation's SHA-256 to this log. Every entry names the entry before it, so changing an old record changes every later hash. Every hour QED signs the newest hash, the head, and records the signed head in Sigstore's public transparency log.
0 entries.
Signed head
as JSONNo head has been signed yet.
Check the log yourself
You need curl, jq, openssl 3 and sha256sum. Save a head you have checked. If a later head does not build on yours, the log was rewritten.
Commands
# 1. The newest signed head and the key that signed it
curl -s https://qed.so/api/v1/log/head > head.json
curl -s "$(jq -r .public_key_url head.json)" > qed-log-key.pem
# 2. Rebuild the signed message and check the Ed25519 signature
printf 'qed-log-head/v1\n%s\n%s' "$(jq -r .seq head.json)" "$(jq -r .head head.json)" > head.txt
jq -r .signature_base64 head.json | base64 -d > head.sig
openssl pkeyutl -verify -pubin -inkey qed-log-key.pem -rawin -in head.txt -sigfile head.sig
# 3. Recompute every entry's hash from the whole log, and each entry's link to the one before
curl -s https://qed.so/data/log.jsonl > log.jsonl
jq -cS '{attestation_sha256, prev, seq}' log.jsonl | while IFS= read -r line; do printf '%s' "$line" | sha256sum | cut -d' ' -f1; done > computed.txt
jq -r .entry_sha256 log.jsonl | diff - computed.txt && echo "every entry hash matches"
jq -rs '. as $e | range(1; length) | select($e[.].prev != $e[. - 1].entry_sha256) | "entry \($e[.].seq): broken link"' log.jsonl
# The last entry_sha256 at the head's seq must equal the signed head.- Key
ed25519:4a2395b2f07a7561 c470044a5c8160041b448954d1e83792f6436a7228d1b7f58eba83ee386d8082(Ed25519 public key, PEM)
Entries
newest firstThe log is empty.