Toolpulse

How to check our history

Every record in the Toolpulse log has a number, a time, a hash of its content, and the hash of the record before it. Changing or deleting an old record would break every hash after it.

Once a day we add a root record and sign it with our Ed25519 key. The signed text looks like this:

toolpulse-root-v1|DAY|RECORD-NUMBER|HEAD-HASH|SNAPSHOT-HASH|SERVER-COUNT

Public key (base64, raw 32 bytes): iud8+o5U5i/PNtQ/jBVo1oKB9k/assKu5rj/l1pDU5Q=

Latest root: /roots/latest.json. Each check result also carries a signed receipt (sha256 of the result, signed with the same key).

Verify a root with Python

import base64, json, urllib.request
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
r = json.load(urllib.request.urlopen("https://toolpulse.avanciq.com/roots/latest.json"))
key = Ed25519PublicKey.from_public_bytes(base64.b64decode("iud8+o5U5i/PNtQ/jBVo1oKB9k/assKu5rj/l1pDU5Q="))
key.verify(base64.b64decode(r["sig"]), r["signed"].encode())  # raises if forged
print("root OK", r["day"], r["count"])