Skip to content
Repos

TOSV

Markdown 2.5 KB41 lines Opens in site

Directory Raw Download

Quantum posture

  • Status: AUDIT plus fixes (2026-11-05). R-16 and R-17 closed by default (in-tree TLS, PQ-only SSH), R-17 and R-20 shipped, R-19 closed. Gate 2 377/377 at v0.6.1
  • Date: 2026-11-05
  • Spec: SEC-09, R-04, R-16 to R-20 (docs/status.md section 6)
  • Related: ADR 0009, pq-kex research

Verdict: partial. At-rest data is quantum-resistant. Transit and authentication are not fully so. Sources: vault.inc, tosv-sftp.cpp, SPEC.md, ADR 0009. No tests or measurements were run for this page.

Per layer

Layer Primitive Quantum status
Blobs at rest v2 XChaCha20-Poly1305 secretstream, 256-bit key Safe. Grover leaves about 128-bit effective.
Hashing SHA-256 (integrity tags, SSH KDF) Safe.
SSH key exchange mlkem768x25519-sha256 preferred, curve25519 fallback Safe only when the client offers ML-KEM.
SSH host key Ed25519 Not safe against a live quantum forger.
SSH user auth Ed25519 gateway key Not safe against a live quantum forger.
HTTP and WebDAV no TLS in binary, stunnel front (SEC-08, NG-02) Depends on stunnel config. Not specified here.
Key derivation Argon2id INTERACTIVE from store passphrase (D-18) Strength capped by passphrase entropy.
Legacy v1 blobs XOR layers, frozen hand-rolled hash (D-19) Weak classically, so also weak here.

Gaps

ID Gap Severity Closure
R-16 HTTP/WebDAV transit has no PQ guarantee high CLOSED by default: in-tree TLS 1.3, X25519MLKEM768 only, no external library (SEC-11, ADR 0011); needs cert and key configured; Ed25519 cert signature stays classical
R-17 SSH accepts curve25519 fallback medium CLOSED by default: PQ-only unless TOSV_SFTP_ALLOW_CLASSICAL=1 (SEC-10, SF-62)
R-18 Host key and user auth are Ed25519 medium Wait for a standardized SSH PQ signature; live forger only, not harvest-now-decrypt-later
R-19 Argon2id INTERACTIVE closed Correction to the first audit: passphrases are generated at 96 to 132 bits, so no floor or cost change is needed
R-20 v1 blobs still readable and weak medium Same as R-01: re-store as v2

What this does not claim

  • No measurement of stunnel negotiation exists, so R-08 severity is inferred from SEC-08, not observed.
  • The 80-bit passphrase figure is a planning number, not a measured threshold.
68.6ms