.gkp v4 format — public reference.

This page reflects active implementation 4.0.0. It describes the container; it does not turn a mathematically valid signature into automatic proof of identity, authority or legal effect.

Binary order

  1. 64-byte fixed header;
  2. canonical CBOR metadata;
  3. payload, protected according to creation policy;
  4. 32-byte BLAKE3 payload fingerprint;
  5. 64-byte primary signature;
  6. optional append-only GKPR records.

Fixed header

BytesSizeField
0–34GKP2 magic
4–52Binary version 4
6–72Flags
8–114Metadata length
12–154Payload length
16–4732Keyed BLAKE3 header checksum
481Content kind
49–6315Reserved, zero-filled

Metadata and cryptography

The CBOR manifest describes the file, author, payload integrity and cryptographic parameters, plus optional TSA, PKI, sharing, evidence and policy elements.

  • primary signatures: Ed25519 or ECDSA-P256;
  • integrity: BLAKE3;
  • authenticated encryption: AES-256-GCM or ChaCha20-Poly1305;
  • derivation: Argon2id then HKDF-SHA-256.

The primary signature covers every preceding block, including the payload fingerprint. P-384 is not part of the current primary production registry.

Local checks and trust decisions

Structure, header checksum, fingerprint and signature may be checked locally when the required keys and capabilities are available. A complete decision may also depend on current anchors, revocation, timestamps, policy or external authority.

→ Format overview · Offline First matrix