01 / System map
Three parts. Different responsibilities.
The client handles readable data and keys. Core manages account and access state. Object storage holds encrypted file objects.
01 / Trusted client
Your Arkive client
Web available; desktop and mobile in development. Plaintext and unlocked keys stay on the client.
Control channel ↕ OPAQUE, encrypted metadata, IDs, access rules, signed URLs
02 / Control plane
Arkive Core API
Coordinates the account, file records, sharing rules, and signed transfer URLs.
Direct data channel ↕ client to storage; file bytes bypass Core
03 / Object storage
S3-compatible storage
Stores encrypted file chunks and thumbnails. Object size and timing remain visible.
Core authorizes transfers with signed URLs. File bytes travel directly between the client and object storage; they do not pass through the Arkive API.
02 / Key model
Sign-in, vault unlock, and file encryption are separate jobs.
OPAQUE authenticates the account and produces an export key for the client. HKDF derives a wrapping key from it; a separate random vault key protects file keys.
01 / Authenticate
OPAQUE exchange
The client derives an export key. Core stores a registration record, not the raw password.
02 / Derive
HKDF-SHA-256
Export key, vault salt, and a fixed context produce a vault key-encryption key.
03 / Unlock
Random vault master key
The derived key unwraps the 32-byte vault key. The server stores its encrypted envelope.
04 / Encrypt
Per-file keys
The vault key wraps random file keys; AES-256-GCM encrypts chunks and file records.
Recovery path
The raw export, vault, and recovery keys are needed on an unlocked client. Arkive stores wrapped key material so the client can unlock the vault later. Lose both your password and recovery key, and Arkive cannot restore your files.
03 / Data boundary
What the service stores and sees.
Encrypted content does not mean an empty database. Core needs records to find objects, apply sharing rules, measure storage, and return the right encrypted data.
| Data | Arkive Core | Object storage |
|---|---|---|
| File contents | Does not receive plaintext in the normal upload flow | Encrypted file chunks |
| Names and file records | Encrypted metadata, manifests, and wrapped key envelopes | Encrypted thumbnail objects |
| Keys | Wrapped vault, recovery, file, and share key material | No unwrapped client keys |
| Account and structure | Email, OPAQUE record, IDs, parent links, versions, and timestamps | Opaque object identifiers |
| Search and sharing | Blind name-search tokens, link policy, expiry, and access limits | Object size and transfer timing |
Search tokens hide the name itself, but repeated tokens can reveal equality patterns. Core also sees operational request data and enough file structure to provide the workspace.
Version history
Each revision keeps encrypted file objects and key/metadata envelopes. A client with the vault unlocked can preview or restore a revision.
05 / Authentication design
Why use OPAQUE?
OPAQUE is a password-authentication protocol, not a file cipher. Arkive uses its client-side export key as one input to a separate vault-key hierarchy.
This keeps account authentication separate from file encryption. A password change can re-wrap the random vault master key instead of re-encrypting every file. Recovery uses a separate key path.
OPAQUE does not make Arkive more secure by itself, hide service metadata, or protect a compromised unlocked client.
| Published design | Key-management approach |
|---|---|
| Arkive | OPAQUE export key → HKDF wrapping key → random vault master key |
| Proton Drive | OpenPGP payload keys and a hierarchical folder/node-key model |
| Filen | Password-derived master-key history and AES-GCM file encryption |
| Tresorit | Separate password-derived authentication and profile keys |
These systems solve related problems with different tradeoffs. This is a comparison of published key-management designs, not a security ranking; implementation details can change.
06 / Threat model
What this design protects—and what it cannot.
The model reduces what a storage or database read can reveal. It does not make every part of the service, device, or sharing process invisible.
Designed to protect
- 01Stored file contents and sensitive metadata are encrypted; file keys are wrapped.
- 02OPAQUE sign-in messages do not send the raw password to Core.
- 03AES-GCM detects modified ciphertext when a client decrypts it.
Outside that protection
- 01A compromised device or altered client code can expose files while unlocked.
- 02Core sees account and file structure, timing, sizes, access rules, and repeated search-token patterns.
- 03Recipients can keep copies; encryption cannot stop the service withholding or deleting data, or prove it returned the newest valid revision.
- 04A stolen OPAQUE registration plus server secret can enable offline password guesses. Lost password and recovery key mean lost access.
Post-quantum status
The current OPAQUE profile is classical.
Arkive uses Ristretto255 with TripleDH and Argon2 for OPAQUE. This is not post-quantum key establishment. Adding a hybrid profile would require protocol and key-envelope migration; it is not a server-only switch. File encryption can remain AES-GCM if clients can unlock and re-wrap the vault key.
07 / Platforms & sources
One format, implemented per platform.
The user-facing client changes by device. The cryptographic roles and file format stay consistent so a file encrypted on one Arkive client can be opened by another compatible client.
- Web client
- Available · v1 reference implementation
- Desktop
- In development · Linux first
- Sync engine
- In development
- Mobile apps
- In development
Current v1 building blocks
| AES-256-GCM | File chunks, metadata, and key envelopes |
|---|---|
| HKDF-SHA-256 | Derive vault and recovery wrapping keys |
| HMAC-SHA-256 | Create blind name-search tokens |
| SHA-256 | Hash encrypted chunks for transfer checks |
| OPAQUE profile | Ristretto255 OPRF · TripleDH with SHA-512 · Argon2 |
Version 1 envelopes contain a version byte, a random 12-byte nonce, ciphertext, and the GCM authentication tag. Associated data binds encrypted values to their intended context.