Cryptography architecture
Messages use end-to-end keys (devices only); login uses a Station↔Broker shared secret injected at make station via git-crypt→SSH. Two distinct key kinds.
Sending device · Plaintext · Architecture component · Trusted end
Sending device
Plaintext
Trusted end
E2E encrypt · MLS · HPKE · X25519 · Architecture component · On device
E2E encrypt
MLS · HPKE · X25519
On device
Home Station · Relays / stores ciphertext · Untrusted transit zone: ciphertext only, no keys held · No content access
Home Station
Relays / stores ciphertext
No content access
Media SFU / TURN · Forwards encrypted media · Untrusted transit zone: ciphertext only, no keys held · No content access
Media SFU / TURN
Forwards encrypted media
No content access
Relay · Opaque Circuit relay · Untrusted transit zone: ciphertext only, no keys held · No content access
Relay
Opaque Circuit relay
No content access
Federation peer · Stores ciphertext · verifies · Untrusted transit zone: ciphertext only, no keys held · No content access
Federation peer
Stores ciphertext · verifies
No content access
E2E decrypt · Recipient Ed25519 key · Architecture component · On device
E2E decrypt
Recipient Ed25519 key
On device
Receiving device · Plaintext · Architecture component · Trusted end
Receiving device
Plaintext
Trusted end
Held by sender · Own private key · on device · Architecture component · Key holder
Held by sender
Own private key · on device
Key holder
E2E session key · X25519 · derived on both ends · Architecture component · Key holder
E2E session key
X25519 · derived on both ends
Key holder
Servers: no content key · No E2E message key · Architecture component · No key
Servers: no content key
No E2E message key
No key
Held by receiver · Recipient private key · on device · Architecture component · Key holder
Held by receiver
Recipient private key · on device
Key holder
On-device database · Full-disk SQLCipher · Architecture component · At rest
On-device database
Full-disk SQLCipher
At rest
Local DB key · OS keychain/DPAPI · Argon2id · Architecture component · At rest
Local DB key
OS keychain/DPAPI · Argon2id
At rest
Station/Relay host secrets · AUTH/DB · host-generated · TLS/Noise · Architecture component · Server
Station/Relay host secrets
AUTH/DB · host-generated · TLS/Noise
Server
Deployment secret delivery · git-crypt → SSH/TLS → 0600 · Architecture component · Server
Deployment secret delivery
git-crypt → SSH/TLS → 0600
Server
OAuth Broker (Vercel) · Login broker · hosted externally · Architecture component · Login service
OAuth Broker (Vercel)
Login broker · hosted externally
Login service
Ciphertext
Ciphertext
Ciphertext
Signed
Plaintext
Plaintext
holds
uses
uses
holds
same bridge secret (HMAC)
Untrusted transit zone: ciphertext only, no keys held
Legend
Frontend
Backend
Database
Cloud
Security
Message bus
External
Diagram guide
Explore this system
×
Inspecting compiled semantics
01
Find any node Search labels, responsibilities, kinds, and stable IDs.
/
02
Trace a route Ask how two semantic nodes connect in authored direction.
R
03
See the whole system Open Semantic Radar with a live viewport and stable nodes.
M
04
Compare semantic kinds Count roles, reveal their traffic, and compare direct authored links.
L
05
Enter Presentation Stage Give the live diagram the viewport without changing export.
F
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find Archify useful? A star on GitHub helps Star ↗
Find a node
×
⌕
/
No matching nodes
Semantic passport
Authored reach
Upstream 0
Downstream 0
×
Copy link
Relations
Path
Click where the path starts
Find start
Copy link
Clear
Click two nodes on the diagram
←
▶
Journey
→
Overview
Click a start, then an end. Paths follow the arrows.
Semantic lens
Compare system roles
×
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Copy link
Clear
Semantic radar
Building overview
Open radar
×
Click node Drag to pan
Semantic radar needs more MAP space.
Notes & index
ROUTE
MAP
LENS
READ 100%