This repository has been archived on 2026-11-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Paul HittandClaude Opus 5 cf6f502348 Add the shared FlameNet account service
Its own binary, container and database role, granted nothing outside
enclave_accounts. It cannot read a file row and a tenant role cannot read an
account; the signed token is the entire interface between them.

One passphrase yields two unrelated secrets: an authentication secret under
flamenet/<product>/auth/v1 that reaches the service, and an encryption key
under flamenet/<product>/identity/v1 that never leaves the browser. A fully
compromised account service can impersonate a user to itself and decrypt
nothing.

Each product server sees only HMAC(service_secret, account_id || product), so
Files cannot correlate its users with Messenger's. Unknown handles return a
deterministic fake stretch salt, so the endpoint cannot enumerate accounts. No
email is stored. Clearance is granted by CLI, never by an endpoint.

The recovery code now covers both halves — restoring file access while leaving
the account credential stale would have locked the user out either way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 13:13:18 -04:00

8 lines
62 B
Plaintext

.build/
.git/
.env
*.xcodeproj
blobs/
docs/
Public/js/crypto/