Skip to main content
An attestation is a signed attestation/1 statement issued by TechnicallyFit when a coach witnesses (level 3) or an approved organization certifies (level 4) a measurement. Both SDKs verify the Ed25519 signature over the RFC 8785 canonical JSON statement offline against TechnicallyFit’s published public keys (GET /v1/attestations/keys). Retired keys remain in the published key list and continue to verify statements signed before a key rotation.

What offline verification cannot see

Offline verification proves only that TechnicallyFit signed the statement and that the statement was not altered. It cannot tell whether the attestor later revoked the attestation or whether the teammate withdrew or erased the measurement. To check live status, call GET /v1/attestations/{attestation_id}/status (anonymous, no API key required), which answers valid, revoked, withdrawn or unknown.

TypeScript

Import verifyAttestation from @technicallyfit/sdk/attestations. It uses Web Crypto only (no Node-only dependencies).

Python

Import verify_attestation from technicallyfit.attestations. It uses pure Python standard library code with no third-party cryptography dependency.