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.

PBKDF2, 600,000

KEK

The master key, which wraps the others.

wraps

FEK

Your account’s random key. Each file gets a key derived from it.

AES-256-GCM

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.

Derivations and parameters of each key
PathDerivationParametersSurfaces
Account password → KEKPBKDF2-SHA-512600,000 iterations, 16-byte salt, AES-GCM-256Desktop, web, mobile
Recovery phrase → KEKPBKDF2-SHA-512600,000 iterations — the exact same function as aboveDesktop, web, mobile
Local vault key, at restNone — random 256-bit keySealed by the system keychain (DPAPI, Keychain, Keystore)Desktop, mobile
File contentNone: under the FEK, random IV (large imported files: HKDF-SHA256 from the FEK)AES-256-GCM, 96-bit IV, 128-bit tagAll
Block-synced file (delta)HKDF-SHA-256Derived from the FEK, 16-byte salt, “filarr-delta-v4” context, 32-byte outputDesktop, web
Custody key (escrow)Argon2idm = 19 MiB, t = 2, p = 1, 32-byte outputDesktop, web, mobile
Password-protected Filarr SendArgon2idm ≤ 64 MiB, t ≤ 10, p = 1 — clamped by the serverDesktop, web, mobile
Passkey unlock (WebAuthn PRF)HKDF-SHA-256Separate, versioned domainDesktop, web
Device pairingHKDF-SHA-256 over ECDH P-256Uncompressed 65-byte public keys, 32-byte shared secretDesktop, 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

Threats, and what stands against them
ThreatWhat stands against it
Theft of the disk or of a backupEncrypted with AES-256-GCM, key sealed by the system keychain
Brute-force attackPBKDF2-SHA-512, 600,000 iterations
Online account takeoverTOTP two-factor authentication, optional
Password lossRecoverable with the recovery phrase only
An open session on your deviceOut of reach of encryption: lock Filarr
Malware on the deviceOut 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.

What our servers see, and what they never see
FeatureWhat is seenWhat is never seen
Account and devicesYour email address, the account creation date, and for each device its name, its system and its last connectionThe content of your files and notes — except the content of databases you entrust to the black box hosted by Filarr, while they remain entrusted
PaymentYour plan and your Stripe customer IDYour card number, handled by Stripe
SyncYour encrypted data, its size and the space you useIts content, and the names of your files and folders
Live editingWhich of your devices are connected to a noteWhat the note contains
Mobile notificationsThey go through Google’s notification service, and say who did whatThe note’s title, or an excerpt
IP addressYour 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 youThe content of what you send
Desktop appOne 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 pathThe 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.