skip to content
Quantek
Quantek / attest

PQ Attestation

Public identities are an XMSS-style Merkle tree over 256 WOTS one-time keys — SHA-256, w=16, tree height 8. A policy attestation binds a strategy hash to one leaf.

unsigned · verification-only
parameters
one-time schemeWOTS · w=16 · n=32 · 67 chains
hashSHA-256
treeMerkle · h=8 · 256 leaves
signatures per identity256 (stateful — never reuse a leaf)
QUANTEK // verification model calculation
01canonical payload5f2a…9c71SHA-256
02WOTS-16 chains67 / 67endpoints
03leaf reconstructionb831…e24fproof tag
04Merkle path8 / 8levels
05root comparisonMATCH32 bytes
QUANTEK · VERIFIEDroot equals reconstructed rootW16/H8
public identity import
root missingpubSeed missing
local sha-256
agent policy attestationUNSIGNED
strategy hash…
identity rootnot imported
leaf slot0
payload digest · sha-256(canonical)
…
UNSIGNED / verification-only mode. No private signing material is present in this browser and none will be fabricated. Sign this digest with your identity key holder, then paste the signature for verification.
verifier scaffold

src/lib/pq/wots.ts implements base-w digits + checksum, WOTS chain recovery, leaf compression and Merkle root-from-path for n=32, w=16, h=8. Domain separation must be aligned with the identity provider’s reference vectors before results count as verification.

what is actually verified
  • ✓ strategy hash = SHA-256 of canonical (sorted-key) JSON, computed locally
  • ✓ attestation payload digest binds strategy hash + root + leaf + scheme
  • ✓ identity root / pubSeed are well-formed 32-byte values
  • × no signature is produced or checked in this build
  • × root ownership and leaf freshness are not proven
  • × attestation does not gate on-chain actions — wallets still sign every tx