The open specifications

The gateway manifest, the join contract, the receipt and the Handoff record format are published as open specifications.

Code, the JSON schemas and the OpenAPI file are licensed under Apache-2.0. Specification text and specification pages are licensed under CC-BY-4.0. Test fixtures, test keys and checksum files are dedicated under CC0-1.0.

The Handoff specification ships 270 test cases. A conforming verifier reproduces the expected result for each.

The standards underneath

Handoff uses Ed25519 (RFC 8032), canonical JSON (RFC 8785) and Merkle trees (RFC 9162).

  • RFC 2119 and RFC 8174: the requirement words MUST, SHOULD and MAY.
  • RFC 8259: the JSON syntax of every Handoff object.
  • RFC 8785: the canonical serialisation whose bytes are hashed and signed.
  • RFC 8032: Ed25519 signatures, for the log server's key, the parties' own keys and the registry's key proof.
  • FIPS 180-4: SHA-256, the hash of every event and tree node.
  • RFC 2104: HMAC, which turns a party's address or identifier into the digest kept in the record.
  • RFC 9162: Merkle tree hashing, inclusion proofs and consistency proofs for the log.
  • Unicode UAX #15: the NFC normal form every string must be in.

A Handoff record exports in full and checks offline. Anyone may run their own instance under the specification's licence.

Naming a format here does not imply endorsement of Weio by its maintainers.

Defined in: Documents · Licences · Conformance