Security: your files encrypted with AES-256 on your device.
How Filarr encrypts your notes and files, what our servers still see, and what isn’t done yet. The exact parameters are published here, so they can be checked.
- Content
- AES-256-GCM
- Master key
- PBKDF2-SHA-512
- Iterations
- 600,000
- Two-factor authentication
- TOTP, RFC 6238
01 — Architecture
How your files are encrypted: two levels of keys
Your account has a randomly generated 256-bit key (the FEK). Your files and notes are encrypted with AES-256-GCM under that key, with a fresh random value (IV) for each one; large files imported on the desktop and synced blocks also derive their own key from it (HKDF-SHA256). The FEK is in turn wrapped by a master key derived from your password (the KEK), with PBKDF2-SHA-512 at 600,000 iterations. The FEK opens the whole account, which is why a strong password matters so much.
Our servers store the encrypted data and the encrypted copy of your key. Without your password or your recovery phrase, we cannot recover your data.
Your password
Your recovery phrase plays the same role.
KEK
The master key, which wraps the others.
FEK
Your account’s random key. Each file gets a key derived from it.
Encrypted file
What is stored and synced.
Which derivation, for which key
A product sold on encryption should be able to say which one, where, and with what parameters. Here is the full table, read back from the code of all three surfaces — desktop, web and mobile.
| Path | Derivation | Parameters | Surfaces |
|---|---|---|---|
| Account password → KEK | PBKDF2-SHA-512 | 600,000 iterations, 16-byte salt, AES-GCM-256 | Desktop, web, mobile |
| Recovery phrase → KEK | PBKDF2-SHA-512 | 600,000 iterations — the exact same function as above | Desktop, web, mobile |
| Local vault key, at rest | None — random 256-bit key | Sealed by the system keychain (DPAPI, Keychain, Keystore) | Desktop, mobile |
| File content | None: under the FEK, random IV (large imported files: HKDF-SHA256 from the FEK) | AES-256-GCM, 96-bit IV, 128-bit tag | All |
| Block-synced file (delta) | HKDF-SHA-256 | Derived from the FEK, 16-byte salt, “filarr-delta-v4” context, 32-byte output | Desktop, web |
| Custody key (escrow) | Argon2id | m = 19 MiB, t = 2, p = 1, 32-byte output | Desktop, web, mobile |
| Password-protected Filarr Send | Argon2id | m ≤ 64 MiB, t ≤ 10, p = 1 — clamped by the server | Desktop, web, mobile |
| Passkey unlock (WebAuthn PRF) | HKDF-SHA-256 | Separate, versioned domain | Desktop, web |
| Device pairing | HKDF-SHA-256 over ECDH P-256 | Uncompressed 65-byte public keys, 32-byte shared secret | Desktop, web, mobile |
Two points that often get lost. The FEK that encrypts your files is randomly generated, never derived from a password: the password only protects its wrapper. And passkey unlock exists on desktop and web only — on mobile, the second factor is a TOTP code. The key for block-synced files is derived from the FEK, never from a password either. Its context stays “filarr-delta-v4” even in the latest manifest layout: the derivation context is deliberately not versioned alongside the data layout, since changing one would make the other unreadable.
The desktop client is published under the BSL 1.1 licence: its local encryption can be checked in the code. The server, the cloud modules and the Filarr Send cryptography are not published.
Source code and licence →02 — In practice
What it changes, case by case
Protected
Your computer gets stolen
The thief finds encrypted files, and a local key sealed by the system keychain. This protection does not cover a session that is already open: lock Filarr when you step away.
Protected
Our host suffers a leak
What leaks is encrypted, and so is the copy of your key. Without your password or your recovery phrase, nothing is readable.
Protected
An authority asks us for your data
We can only provide what our servers store: encrypted data they cannot read, the encrypted copy of your key, and the metadata listed below. Exception: databases you entrust to the black box hosted by Filarr, decrypted by our servers while they remain entrusted.
Your responsibility
You forget your password
Your recovery phrase lets you choose a new one. Without your password or your recovery phrase, we cannot recover your data: write the phrase down on paper.
Known limit
Your password is weak
The encrypted copy of your key is only as strong as your password. PBKDF2-SHA-512 at 600,000 iterations slows down every guess, but does not make a short password safe: use a password manager.
Works offline
Your connection drops
On a computer, everything keeps working: notes, files, graph, canvas. Changes sync when the network comes back.
The threat model, line by line
| Threat | What stands against it |
|---|---|
| Theft of the disk or of a backup | Encrypted with AES-256-GCM, key sealed by the system keychain |
| Brute-force attack | PBKDF2-SHA-512, 600,000 iterations |
| Online account takeover | TOTP two-factor authentication, optional |
| Password loss | Recoverable with the recovery phrase only |
| An open session on your device | Out of reach of encryption: lock Filarr |
| Malware on the device | Out of reach: software running in your session sees what you see |
Two-factor authentication (TOTP)
Optional, from Settings > Security inside the app. Compatible with any standard TOTP app (Authy, Google Authenticator, 1Password, Bitwarden). At sign-in: password, then a 6-digit code. 8 single-use backup codes are generated at activation, so you aren’t locked out if you lose your TOTP device.
- TOTP RFC 6238 (SHA-1, 6 digits, 30s period)
- Every standard TOTP app: Authy, Google Authenticator, 1Password, Bitwarden
- 8 single-use backup codes, hashed server-side
- Rate-limited to 10 attempts / 15 min / IP
The TOTP secret is stored server-side, because that is required to verify codes. It grants no access to your files: it only protects the sign-in to your account.
03 — The limits
What our servers still see
End-to-end encryption protects the content, not the fact that you use Filarr. The encrypted data is stored on Cloudflare R2, in Cloudflare’s Western Europe region; Cloudflare is a US company.
| Feature | What is seen | What is never seen |
|---|---|---|
| Account and devices | Your email address, the account creation date, and for each device its name, its system and its last connection | The content of your files and notes — except the content of databases you entrust to the black box hosted by Filarr, while they remain entrusted |
| Payment | Your plan and your Stripe customer ID | Your card number, handled by Stripe |
| Sync | Your encrypted data, its size and the space you use | Its content, and the names of your files and folders |
| Live editing | Which of your devices are connected to a note | What the note contains |
| Mobile notifications | They go through Google’s notification service, and say who did what | The note’s title, or an excerpt |
| IP address | Your IP address, as with any website. For Filarr Send and file requests, the server only keeps a hash of it, the country and the /16 subnet, except after a serious report concerning you | The content of what you send |
| Desktop app | One version message per day and per profile, and error reports sent to Sentry (on by default, can be turned off) that can mention a file name or a path | The content of your files and notes |
No ads, no tracking.What the app sends, and when →
What we’re still working on
Independent security audit
Planned, not done yet. No SOC 2 or HIPAA certification is claimed.
Linux without a keyring
On a Linux machine with no working keyring, Filarr falls back to a permission-restricted file: the protection against disk theft no longer applies.
The same encryption for file sharing.
Filarr Send encrypts your files before they are sent, and the key stays in the link.