Authentication Using Secrets in Plain Sight: Zero-Database Identity, Blind-OPRF Challenge Proofs, and Single-Head File-Reconstructible Keyrings Over Commodity Storage
Eliminating Password Databases, Opaque Cloud User Pools, and Multi-Artifact State Drift Through Atomic Signed Identity Heads, RFC 9497 Blind OPRFs, Argon2id, W3C WebAuthn PRF, and Role-Separated Post-Quantum Vaults (OMVFS-AUTH-V2)
2-Minute Plain-English Summary
For forty years, internet login systems have transmitted human passwords to servers and locked user identities inside proprietary cloud user pools and credential databases. OMVFS-AUTH-V2 inverts the model with a minimal, drift-proof design: each user has one atomic, conditionally-written (If-Match), self-signed OMVFS01 identity head ("secret in plain sight") backed by an opaque >=128-bit user ID. For human passphrases (Regime I), the client blinds the password locally via RFC 9497 OPRF(P-256, SHA-256) so every guess requires an edge-rate-limited server evaluation while the server learns zero bits of the password; for hardware passkeys (Regime II), genuine W3C WebAuthn UV=true + PRF unlocks the head directly. Routine login unwraps only the active Ed25519 signing key to sign a single-use epoch-bound challenge — keeping historical X25519/ML-KEM-768 archive decryption keys sealed, emitting zero passwords or raw MasterKEKs over the network or browser URLs, and reconstructing the entire identity provider from plain object storage without AWS Cognito or DynamoDB.
- Single Authoritative Signed Identity Head (Zero Multi-Artifact Drift): Collapses legacy bootstrap, keyring, and revocation files into one CAS-versioned (If-Match), monotonically epoch-numbered identity.omjson envelope with an opaque >=128-bit user ID — eliminating split-brain revocation races and hiding historical epoch metadata inside AEAD ciphertext.
- Mathematically Rigorous Three-Regime Threat Model: Proves why static peppers returned on unauthenticated endpoints only defend storage snapshots, and enforces genuine online rate-limiting in Regime I via RFC 9497 Blind OPRF(P-256, SHA-256) + RFC 9106 Argon2id (with KMS-sealed server scalar), Regime II via genuine W3C WebAuthn L2/L3 (authenticatorData UP/UV + clientDataJSON + monotonic signCount + PRF), and Regime III via composite derivation.
- Strict Auth-vs-Archive Separation & Unfamiliar-Device Scoping: Enforces distinct role-bound AADs (SIG vs ENC vs KEM), unwraps only the active Ed25519 Auth key during routine login (leaving historical X25519/ML-KEM-768 decryption keys sealed in a nested archive compartment), never exposes raw MasterKEK in browser URL fragments, and provides short-lived ephemeral sessions with zero refresh tokens or SSO cookies on unfamiliar machines.
- O(1) Rotation, Cryptographic Recovery Proof & Epoch-Wide Revocation: Separating UnlockKEK from MasterKEK rotates passphrases in O(1) bytes; recovery claiming MasterKEK preservation requires a verifiable Ed25519 signature from the existing active key (never a client-asserted boolean); and bumping identityEpoch / CredentialEpoch immediately invalidates all prior refresh tokens and SSO cookies.
- Interactive Speed Decoupled from Asynchronous Calendar Finality: Interactive AuthN verifies in O(1) directly against the authoritative identity head without blocking on external timestamping calendars, while optional OpenTimestamps / blockchain anchoring of identity-head hashes provides asynchronous finality for governance and elections.
OMVFS01 nodes anchored via OMVFS-CERT-V1 (c64be94c85afcf…) and open 2+ devices (phone + laptop) to test the system as real attackers.1. The Stateful Identity Trap: Why Password Databases and Cloud User Pools Fail First Principles
leaf:84be28609cd6Why shipping secrets to servers and locking identity inside non-exportable cloud databases creates systemic breach risk and architectural lock-in.
Classical web authentication suffers from two foundational architectural flaws inherited from 1970s time-sharing systems. First, during routine login, the client transmits a plaintext password (or deterministic password derivative) across TLS termination proxies, load balancers, and application memory so a remote server can recompute a stored verifier. Every middlebox or compromised server process in that path observes the user's raw secret.
Second, modern cloud platforms attempted to outsource this liability into managed identity silos (such as cloud user pools and proprietary SaaS identity providers) paired with NoSQL role-mapping tables. While convenient on day one, managed user pools sever storage portability: password verifiers cannot be exported, backing up object storage does not back up user accounts, role lookups degrade into expensive table scans or brittle secondary indexes, and a single regional control-plane outage halts every relying application.
Building on the self-verifying file primitives of Companion White Paper WP-0002, OmTrek asked a direct question: if files already carry cryptographic integrity, conditional-ETag atomicity, and capability markers, why does identity require a stateful database — or even multiple drifting credential files — at all?
- Eliminating Secret Transmission: The server verifies identity solely via standard public-key signatures over fresh challenges (plus blind OPRF evaluations in Regime I), never seeing a plaintext password or reusable verifier.
- Eliminating Multi-Artifact Drift: Each user's identity state lives in one atomic, conditionally-written (If-Match) OMVFS01 head rather than separate bootstrap, keyring, and revocation files that can desynchronize.
- 100% Snapshot Reconstructibility: Restoring an object-storage subtree (together with its KMS-unsealed authority keys) onto any cloud bucket, bare-metal host, or air-gapped sovereign node restores the entire identity provider with zero external database state.
2. Formal Cryptographic Model of Single-Head "Secrets in Plain Sight" (OMVFS-AUTH-V2)
leaf:f89871b638ccOne atomic CAS-versioned identity head with opaque >=128-bit user IDs, zero fast-oracle verifiers, role-separated AADs, and a sealed historical decryption archive.
In OMVFS-AUTH-V2, every user is assigned an opaque collision-resistant identifier uid of at least 128 bits (e.g. u-<128-bit SHA-256(domain || canonical_email)> or CSPRNG UUIDv4; 32-bit non-cryptographic hashes such as FNV-1a are strictly forbidden because a ~2^32 space permits targeted second-preimage account collisions in under one second). Registration claims both the blinded email index and users/<uid>/profile.omjson with If-None-Match: * before writing any credential artifact.
All identity material for home prefix h_u = users/<uid> is consolidated into a single self-signed OMVFS01 envelope: users/<uid>/private/.credentials/identity.omjson, updated strictly via conditional ETag CAS (If-Match). Its cleartext header exposes only what a stateless verifier genuinely requires (uid, monotonic identityEpoch, active Ed25519 auth public key, active X25519/ML-KEM-768 encryption public keys, KDF/OPRF metadata, and compact revoked key IDs). There is NO cleartext verifierB64 fast oracle — the AEAD authentication tag alone confirms unlock — and all historical key epochs, counts, timestamps, and archived X25519/ML-KEM-768 private keys live inside a nested encrypted archive compartment:
Let uid in {0,1}^>=128 be an opaque collision-resistant user ID, h_u = "users/" || uid,
S_u <-$ {0,1}^256 a per-user CSPRNG salt, and e >= 1 the monotonic identityEpoch.
1. Unlock Key Derivation (Client RAM Only — see Equation Set 3 for Regimes I, II, III):
K_unlock = DeriveUnlockKey(pw, OPRF_out, S_hw, S_u; Argon2id(M >= 16 MiB, t >= 3, p = 1))
2. Outer Vault Compartment (Unwrapped on AuthN — Zero VerifierB64 Oracle):
AAD_vault = UTF8("OMVFS-ID-VAULT-V2:" || norm(h_u) || ":" || uid)
C_vault = AEAD.Seal_{K_unlock}(N_v, { K_master, C_auth_sig, C_archive }, AAD_vault)
3. Strict Role-Separated Active Auth Key vs. Sealed Historical Archive:
(sk_e^sig, pk_e^sig) <- Ed25519.KeyGen() [Authentication ONLY]
(sk_e^enc, pk_e^enc) <- X25519.KeyGen(), (dk_e^kem, ek_e^kem) <- ML-KEM-768.KeyGen()
AAD_e^sig = UTF8("OMVFS-KR-SIG-V2:" || norm(h_u) || ":" || kid_e || ":" || e)
AAD_e^enc = UTF8("OMVFS-KR-ENC-V2:" || norm(h_u) || ":" || kid_e || ":" || e)
AAD_e^kem = UTF8("OMVFS-KR-KEM-V2:" || norm(h_u) || ":" || kid_e || ":" || e)
C_auth_sig = AEAD.Seal_{K_master}(N_sig, sk_e^sig, AAD_e^sig)
K_archive = HKDF-SHA256(K_master, UTF8(norm(h_u)), UTF8("omvfs-archive-kek-v2"))
C_archive = AEAD.Seal_{K_archive}(N_arc, { (kid_i, i, status_i, C_i^enc, C_i^kem) }_{i=1..e}, AAD_arc)
4. Atomic Single-Head Persistence (Zero Multi-Artifact Drift):
identity.omjson = OMVFS01.Sign_{sk_e^sig}( PublicHeader(e, pk_e^sig, pk_e^enc, ek_e^kem, KDF, C_vault) )
Write(h_u/private/.credentials/identity.omjson, If-Match: prevETag)
3. Zero-Password Challenge-Response, Lazy Archive Unlock & Ephemeral Device Scoping
leaf:f2aae34285b0Proving identity over untrusted networks with epoch-bound signatures, atomic CAS single-use consumption, and strict unfamiliar-device isolation.
Authentication proceeds in two stateless HTTP round-trips without ever transmitting pw, K_unlock, K_master, or sk_e^sig. In Regime I, the client first blinds pw locally via RFC 9497 OPRF(P-256, SHA-256) (M = r * HashToGroup(pw)) and posts (identifier, M, deviceTrust) to /oidc/v1/challenge. The server evaluates Z = k_oprf * M using its KMS-sealed scalar k_oprf (learning zero bits about pw) and returns a single-use challenge alongside identity.omjson (or an OMVFS01-framed constant-shape synthetic envelope for unknown identifiers).
On the client, routine login executes UnlockIdentityForAuth: it unblinds Z, runs Argon2id, opens C_vault, unwraps ONLY the active Ed25519 signing seed sk_e^sig (leaving C_archive — every historical X25519 and ML-KEM-768 decryption key — cryptographically sealed in RAM), signs the epoch-bound transcript T_v2, zeroizes transient key buffers, and posts (cid, kid_e, e, sigma) to /oidc/v1/verify. Raw MasterKEK is NEVER placed into browser URL fragments (#omvfs_vk) or handed across origins to non-vault apps:
- Atomic Single-Use Replay Immunity: Challenge consumption transitions a consumed marker via conditional If-Match ETag BEFORE honoring the proof — eliminating concurrent Get-then-Delete TOCTOU replay races across serverless instances.
- Strict Active-Only Key Enforcement: Archived and revoked generations are unconditionally rejected at /v1/verify and /v1/change-password, even when their Ed25519 signature math is valid.
- Unfamiliar / Shared Device Isolation: Passing deviceTrust = "ephemeral" mints a short-lived (15 min) access token stamped omvfs:device_trust="ephemeral", issues ZERO refresh token, sets ZERO omtrek_sso cookie, and keeps C_archive sealed.
1. Client Blind & Server Challenge Issuance (TTL Delta_t = 300 s, r_chal <-$ {0,1}^256):
Client -> Server: (ident, M = r_b * H_G(pw), deviceTrust in {"trusted", "ephemeral"})
Server -> Client: C = (cid, B64(r_chal), clientId, norm(h_u), Z = k_oprf * M, identity.omjson, t_exp)
2. Canonical Epoch-Bound Domain-Separated Transcript (UTF-8 byte sequence):
T_v2(C, kid_e, e) = UTF8(
"OMVFS-OIDC-AUTH-V2|" || cid || "|" || B64(r_chal) || "|" ||
clientId || "|" || norm(h_u) || "|" || kid_e || "|" || e
)
3. Client Proof (Active Auth Key Only — Historical Archive Keys Stay Sealed):
sigma = Ed25519.Sign_{sk_e^sig}( T_v2(C, kid_e, e) )
WirePayload = { "challengeId": cid, "kid": kid_e, "epoch": e, "signatureB64": B64(sigma) }
4. Server Verification Predicate (Atomic CAS Single-Use & Strictly Active-Only):
Accept <=> (t_now <= t_exp)
&& (AtomicCASConsumeOnce(cid, If-Match: eTag) == true)
&& (VerifyEnvelope(identity.omjson) == valid)
&& (kid_e == head.activeAuthKid && e == head.identityEpoch && kid_e not_in head.revokedKids)
&& (Ed25519.Verify_{head.activeAuthEd25519Pub}(T_v2(C, kid_e, e), sigma) == 1)
4. Information-Theoretic & Computational Threat Analysis Across Three Entropy Regimes
leaf:928665a6794dWhy static returned peppers fail online-harvesting threat models, and how RFC 9497 Blind OPRF + Argon2id and W3C WebAuthn PRF close offline GPU cracking.
A rigorous cryptographic specification must never overstate work factors for low-entropy human passwords. Crucially, returning a static server pepper P_srv in plaintext inside an unauthenticated /oidc/v1/challenge response does NOT enforce online rate-limiting R_lim against offline GPU cracking: an adversary makes a single HTTP request, captures (identity.omjson, S_u, P_srv), and then tests unlimited password candidates offline. A static pepper protects solely against an offline object-storage snapshot leak when the auth endpoint is unreachable.
OMVFS-AUTH-V2 closes this gap mathematically by replacing static returned peppers with a genuine Blind Oblivious Pseudorandom Function — RFC 9497 OPRF(P-256, SHA-256) with server scalar k_oprf sealed under AWS KMS / HSM — so the server never learns pw AND an adversary cannot test even one password candidate offline without compromising KMS:
Let H_inf(pw) be human passphrase min-entropy, C_argon2(M, t, p) the Argon2id area*time cost,
R_lim the edge/WAF rate cap on /v1/challenge & /v1/oprf/evaluate, q_on online queries, q_off offline queries.
Regime I — Human Passphrase + Default-Deny Edge Gate + RFC 9497 Blind OPRF + Argon2id:
* Direct public HTTP access to */private/.credentials/* is blocked (< 0.2 ms, HTTP 403).
* Client blinds M = r_b * H_G(pw); server evaluates Z = k_oprf * M (k_oprf sealed in KMS, NEVER disclosed).
* Client unblinds N = r_b^-1 * Z, computes oprfOut = SHA256(len(pw)||pw||len(N)||N||"Finalize"),
and derives K_unlock = HKDF-SHA256(Argon2id(oprfOut, S_u; M >= 16 MiB, t >= 3, p = 1), S_u, "omvfs-id-unlock-kek-v2").
* Online Harvesting / S3-Snapshot-Only Adversary (does NOT possess k_oprf):
Offline guessing is cryptographically infeasible: Adv_A^{no-k_oprf}(q_off) <= q_off / 2^256 + negl(lambda).
Every password guess MUST spend 1 online OPRF query capped by WAF/API Gateway R_lim.
* Joint S3 + KMS Compromise (adversary steals both storage AND k_oprf):
W_joint >= 2^{H_inf(pw)} * C_argon2(M, t, p) (Argon2id defense-in-depth floor).
Regime II — True Public Plain Sight via Genuine W3C WebAuthn L3 UV=true + PRF (256-bit):
* Server verifies genuine W3C authenticatorData (rpIdHash == SHA256(rpId), UP=1, UV=1,
monotonic signCount clone guard) + clientDataJSON (type, challenge, origin) + ES256/EdDSA signature.
* Hardware Secure Element evaluates S_hw = PRF(K_cred, UTF8("OMVFS-PRF-UNLOCK-V2:" || norm(h_u))), H_inf(S_hw) = 256.
* K_unlock = HKDF-SHA256(S_hw, S_u, UTF8("OMVFS-HW-KEY-V2")).
* Even on a 100% public CDN: W_public_cdn >= min(2^256, 2^128 [Ed25519 DL]) = 2^128 operations.
Regime III — Dual-Factor Sovereign Profile (W3C WebAuthn PRF + Blind OPRF/Argon2id Passphrase):
* K_unlock = HKDF-SHA256(S_hw || Argon2id(oprfOut, S_u; M, t, p), S_u, UTF8("OMVFS-2FA-V2"))
* Survives both physical device seizure (missing pw) and password disclosure (missing S_hw).
5. O(1) Atomic Rotation, Cryptographic Recovery Proofs & Asynchronous Calendar Finality
leaf:307ffac70341How single-head CAS rotation preserves historical archives, proves MasterKEK preservation without trust-on-client-claim booleans, and keeps interactive login fast.
Changing a password or rotating a key epoch rewrites only the single identity.omjson object via conditional If-Match CAS in O(1) bytes. Historical encrypted files remain decryptable via C_archive without bulk payload re-encryption, while the retired Ed25519 key immediately loses authentication authority.
Account recovery never accepts an unverified client boolean claiming that MasterKEK was preserved. To bypass privileged cooling-off windows or strict-profile low-assurance quarantine via a Recovery Key or WebAuthn PRF, the client must prove live possession of the existing active Ed25519 key by signing OMVFS-RESET-PRESERVE-V1 over the verified reset code and new identity head digest. Every password change, rotation, or reset monotonically bumps CredentialEpoch / identityEpoch, immediately revoking BOTH refresh tokens AND browser omtrek_sso cookies.
Finally, interactive authentication NEVER blocks on external OpenTimestamps or blockchain calendar confirmations. Immediate verification checks the signature and active epoch directly against the authoritative identity.omjson head; optional external calendar anchoring of sha256(identity.omjson) runs strictly asynchronously to establish long-term non-repudiation for high-stakes governance, treasury, and electoral workflows (WP-0004..0009).
1. O(1) Atomic Rotation on Single Head (e -> e + 1, fresh S_u', fresh OPRF_out'):
C_vault' = AEAD.Seal_{K_unlock'}(N_v', { K_master, C_auth_sig', C_archive' }, AAD_vault)
Put(h_u/private/.credentials/identity.omjson, If-Match: prevETag) [O(1) bytes, zero drift]
2. Cryptographic Proof of MasterKEK-Preserving Recovery (Zero Client-Claim Booleans):
T_pres = UTF8("OMVFS-RESET-PRESERVE-V1|" || uid || "|" || kid_e || "|" || SHA256_16(resetCode) || "|" || SHA256(newHead))
sigma_pres = Ed25519.Sign_{sk_e^sig}(T_pres)
Server elevates strongFactorVerified <=> Ed25519.Verify_{head.activeAuthEd25519Pub}(T_pres, sigma_pres) == 1
3. Immediate Epoch-Wide Session Revocation:
CredentialEpoch <- CredentialEpoch + 1
Reject RefreshToken <=> tok.ce < CredentialEpoch
Reject SSOCookie <=> cookie.ce < CredentialEpoch
6. 100% OMVFS-Reconstructible Identity & RBAC: Retiring Cloud User Pools and NoSQL Tables
leaf:340f76ad2a35Mapping accounts, KMS-sealed authority keys, and O(1) privilege .omlink grants onto self-verifying file paths.
Once authentication reduces to verifying an Ed25519 signature against a single CAS-versioned identity.omjson head and authorization reduces to O(1) deterministic .omlink grants verified against target-node .acl.omjson epochs, every remaining credential table in a cloud identity stack collapses into deterministic file operations:
- Single Authoritative User Identity Head: users/<uid>/private/.credentials/identity.omjson stores the user's active public auth/encryption keys, KDF/OPRF metadata, and AEAD-sealed vault + archive compartments (direct user presigned writes to private/.credentials/* and private/.ssh/* are unconditionally denied).
- O(1) Blinded Identifier Lookup & Collision Guard: system/auth/emails/<sha256(canonical_email)>.omjson maps login identifiers to opaque >=128-bit <uid>, with If-None-Match: * enforced on both email index and users/<uid>/profile.omjson.
- KMS-Sealed Platform Authority Keys: system/oidc/issuer-key.omjson, system/oidc/oprf-key.omjson, and system/auth/grant-signer.omjson are envelope-sealed under AWS KMS / HSM so a raw object-storage snapshot cannot forge JWTs, .omlink grants, or offline OPRF evaluations.
- O(1) On-Demand Signed Capability Grants: users/<uid>/grants/<deterministicNodeGrantId>.omlink verified live against target <node>/.acl.omjson (ACLEpoch, Revocations, MinAuthAssurance) eliminates O(N) table scans and Cognito sign-in/sign-up listeners.
- Single-Command Sovereign Disaster Recovery: Snapshotting the OMVFS bucket subtree (with KMS key export/escrow policy) reconstructs 100% of users, key epochs, and grants across clouds or bare-metal sovereign hardware.
7. Zero-Friction Standards Interoperability: OAuth 2.1, OpenID Connect, and Native Clients
leaf:86759957a9f0Running unmodified enterprise tools alongside native OMVFS web and mobile apps over a single Auth-vs-Vault separated core.
OMVFS-AUTH-V2 bridges plain-sight cryptographic proofs directly into standard OpenID Connect 1.0 and OAuth 2.1 Authorization Code + PKCE flows without forcing downstream relying parties to adopt custom tokens:
- Unmodified Relying Parties: Standard third-party services (Git hosting, CI/CD orchestrators, issue trackers, mail clients, Kubernetes APIs) redirect to /oidc/oauth2/authorize and validate standard JWKS JWTs from /.well-known/jwks.json.
- Strict Browser SSO Isolation: The CSP-strict browser SSO script executes Blind OPRF + Argon2id + Ed25519 challenge signing strictly in memory and returns only the OAuth authorization code redirect — NEVER leaking raw MasterKEK into URL fragments, sessionStorage, or third-party/non-vault origins.
- Scoped Native & Vault Sessions: Native Flutter apps and zero-knowledge mail clients explicitly separate routine AuthN sessions from on-demand UnlockVaultArchive() calls, and expose an explicit unfamiliar/shared-device ephemeral login mode.
8. Deterministic Audit & Implementation Checklist for Engineers and AI Verifiers
leaf:0f9e8ac28e1aEight concrete mathematical and operational invariants any security reviewer or AI verification engine can test independently.
To evaluate or implement an interoperable OMVFS-AUTH-V2 deployment, human security auditors and automated AI verification agents should verify the following eight deterministic invariants:
- Invariant 1 (Zero Wire Secrets & Zero URL-Fragment Keys): Inspect all HTTP traffic to /oidc/v1/* and all browser redirect URLs to confirm zero plaintext passwords, zero static returned peppers, zero raw MasterKEK fragments (#omvfs_vk), and zero private scalars ever cross the wire or browser history.
- Invariant 2 (Single-Head CAS & Self-Verification): Confirm users/<uid>/private/.credentials/identity.omjson carries a valid OMVFS01 Ed25519 signature bound to its exact homePrefix, monotonic identityEpoch, minimum Argon2id floor, zero verifierB64 field, and conditional If-Match updates.
- Invariant 3 (Collision-Resistant Opaque UIDs): Confirm new registrations generate >=128-bit cryptographic user IDs and enforce If-None-Match: * on both email index and users/<uid>/profile.omjson so crafted hash collisions cannot overwrite existing accounts.
- Invariant 4 (Strict Role-Separated AADs & Lazy Archive Isolation): Confirm SIG, ENC, KEM, and ARCHIVE ciphertexts bind distinct domain-separated AADs and routine AuthN never decrypts C_archive.
- Invariant 5 (Atomic CAS Single-Use Consumption): Confirm concurrent parallel replays of an identical (challengeId, signatureB64), OAuth authorization code, verification code, or biometric proof allow strictly one success via If-Match ETag claim.
- Invariant 6 (Active-Only AuthN & Epoch-Wide Revocation): Confirm archived or revoked keys fail /v1/verify and /v1/change-password, and bumping CredentialEpoch immediately invalidates both refresh tokens and omtrek_sso cookies.
- Invariant 7 (Genuine W3C WebAuthn & Signed Recovery Proofs): Confirm production WebAuthn endpoints verify binary authenticatorData (rpIdHash, UP=1, UV=1, monotonic signCount) + clientDataJSON (type, challenge, origin) — rejecting bare client-asserted booleans for both WebAuthn and MasterKEK-preserving recovery.
- Invariant 8 (Edge Default-Deny, KMS-Sealed Authority Keys & Async Anchoring): Confirm unauthenticated CDN requests to */private/.credentials/* and *.acl.omjson return HTTP 403 at the edge, platform issuer/OPRF/grant keys are KMS-sealed, and interactive AuthN never blocks on external calendar timestamping.
9. Production Account Lifecycle: Multi-Device Sync, Threshold Guardian Recovery, Revocation Bounds & Endpoint Limits
leaf:c850526fa9aaHow OMVFS-AUTH-V2 handles lost phones, total device loss, stolen-session revocation, and compromised-endpoint boundaries in real operations.
Authentication in production is defined by failure recovery as much as initial login. Because users lose phones, replace laptops, and occasionally suffer compromised devices, OMVFS-AUTH-V2 defines a deterministic seven-case operational lifecycle over the single CAS-versioned identity.omjson head:
- Multi-Device Sync & Additional Passkeys: Because identity.omjson is a single CAS-versioned object, enrolling a second laptop or phone wraps the same MasterKEK vault compartment under an independent WebAuthn PRF slot inside passkeyWrappers[] — syncing across all devices on next fetch with zero central key database.
- Lost Single Device (With Backup Passkey, Passphrase, or Recovery Key): User signs in on a surviving device, revokes the lost passkey slot via atomic CAS (RevokePasskeyWrapperCAS), and bumps CredentialEpoch/identityEpoch — preserving 100% of historical E2EE archives with zero data loss.
- Lost All Devices With Threshold Guardian Recovery (guardian_omlink): Users or organizations can opt into (t, n) GF(256) Shamir secret-sharing of MasterKEK where each share is X25519-wrapped to an independent guardian or corporate custodian. Fewer than t guardians learn 0 bits; any >= t guardians reconstruct MasterKEK without server escrow.
- Total Catastrophic Loss (All Devices + Recovery Key + No Guardians): Honest zero-knowledge boundary — after a verified cooling-off window via alternate recovery channel (alt_email / identity verification), account sign-in recovers by minting a fresh identity epoch (e+1) and new MasterKEK, while prior E2EE .omenc archives remain cryptographically unrecoverable (matching the security model of Apple Advanced Data Protection and Proton).
- Revocation Propagation Latency Bounds: identity.omjson and .acl.omjson are never CDN-cached (direct origin reads with Cache-Control: no-store). Bumping CredentialEpoch invalidates refresh tokens and omtrek_sso cookies in 0 seconds; presign/resource endpoints check target .acl.omjson ACLEpoch live (0 s); short-lived stateless JWT access tokens cap worst-case revocation exposure at <= 15 minutes.
- Compromised-Endpoint Threat Boundary: Client-side cryptography defeats server breaches, DBA tampering, and storage snapshot leaks, but cannot stop active OS/browser malware on an unlocked device. OMVFS-AUTH-V2 minimizes blast radius through non-extractable hardware Passkeys, lazy C_archive isolation (routine login never unwraps historical decryption keys), unfamiliar-device ephemeral sessions, and strict CSP + SHA-384 SRI script integrity.
Live Read-Only Verification Commands
Run in any terminal (or share with an AI coding assistant) to verify live headers and commitments:
# 1. Verify sub-millisecond default-deny CDN edge isolation on private credential paths (returns HTTP 403):
curl -sS -I https://omtrek.dev/private/.credentials/identity.omjson | head -n 10
# 2. Compute a canonical OMVFS-OIDC-AUTH-V2 epoch-bound challenge transcript digest locally:
printf "OMVFS-OIDC-AUTH-V2|%s|%s|%s|%s|%s|%s" "$CHALLENGE_ID" "$NONCE_B64" "$CLIENT_ID" "$HOME_PREFIX" "$KEY_ID" "$IDENTITY_EPOCH" | shasum -a 256
# 3. Inspect a public OpenID Connect discovery document backed by OMVFS01 envelopes:
curl -sS https://corporate.omtrek.com/oidc/.well-known/openid-configuration | head -n 25