Source page 10 · section 10/18 · approximately 2 minutes
bypassed. A digest a verifier can recompute without a secret
bypassed. A digest a verifier can recompute without a secret
authenticates nothing (Bellare et al., 1996).
Fix. Define a single transcript MAC: tag = HMAC(k_sign,
H(HELLO ‖ CHALLENGE ‖ PROVE-fields)), computed identically
by both parties over the same canonical transcript, and verify it in
constant time. This is the macaroon discipline (Birgisson et al.,
2014).
6.3 R3 — Broken hash algorithms are offered
(content-addressing collisions) [T4 → fix]
The HashAlgorithm enum offers MD5 (≈2⁶⁴ collision resistance,
broken — Wang & Yu, 2005) and SHA-1 (≈2⁸⁰, broken — Wang,
Yin & Yu, 2005; practically — Stevens et al., 2017). Because a
CHK is a content hash, a collision yields two contents sharing
one identity — catastrophic for an identity system (Fig. 5).
Fix. Restrict CHKs to SHA-256, SHA3-256, or BLAKE3 (≥128-bit
collision resistance; NIST FIPS 180-4/202); refuse MD5/SHA-1
with a hard error rather than a discouraging comment.
6.4 R4 — Epoch/freshness root and per-request
nonces leave a replay surface [T3 → fix]
Nonces are tracked per request-id, and freshness rests on an
epoch root (the source materials' "phase") whose origin is
unspecified. If that root is not a verifiable, monotonic, bias-
resistant value, an adversary can pin a stale epoch and replay a
captured, well-formed exchange in a fresh session.
Fix. Source the phase from a public randomness beacon with
verifiable monotonicity (e.g., a drand-style bias-resistant beacon;
Syta et al., 2017), bind tickets to a phase window with explicit
expiry, and persist seen-nonce sets across sessions (Lamport,
1981, for the hash-chain alternative).
Editorial commentary and evidence checks for this source
Check definitions, measurements and the difference between a model, a reported simulation and independently reproduced evidence. Spiritual or speculative interpretations do not become physical or clinical findings through notation.
Content-addressed capabilities and authentication
A proposed permission protocol combining content identifiers, capability policies and freshness checks.
A content hash identifies bytes; it does not by itself authenticate a person or authorize an action.
Full commentary and investigation questionsThe source text is preserved as attributed material; commentary does not rewrite an allegation into a verified finding.