cd ../articles

Security

Your files, your rules: private sync with Syncthing and Cryptomator

Sync across every device without handing your files to a cloud provider: Syncthing moves them peer to peer, Cryptomator encrypts them before they leave your machine.

  • Syncthing
  • Cryptomator
  • AES-256

Where are your photos, your documents, your tax returns right now? For most people the answer is Google Drive, Dropbox, OneDrive or iCloud: someone else's computer, under someone else's terms. Cloud storage is convenient. It is also a trust decision most of us never consciously made.

The problem nobody talks about

With mainstream cloud storage, the provider holds the encryption keys. They can scan files, they must answer legal requests, and they can change their terms or prices. A breach on their side is a breach of your data. You keep the convenience and give up control.

There is another way to get sync across devices and access from anywhere, without handing your files to anyone: Syncthing to move them, Cryptomator to encrypt them.

The old way vs. this way

Drive / DropboxSyncthing + Cryptomator
Who controls the data?The providerYou
Who holds the keys?The providerOnly you
Can the provider read files?Technically, yesThere is no provider
Sync across devicesYesYes
Monthly cost€2–20 per month€0, open source
Storage limitYour planYour disks

The two tools

Syncthing

Peer-to-peer sync between your own devices. No central server, no account. Connections are TLS-encrypted and devices authenticate each other by ID.

Cryptomator

An encrypted vault. Files are encrypted on your machine (AES-256) before they are written to the vault folder; file names are encrypted too.

Put the vault inside a Syncthing folder and you get private, synchronised, encrypted storage that you fully control.

sync-crypto.svg
Encrypt first, then sync
Encrypt first, then sync
Text version
your file ──▶ Cryptomator (encrypts locally) ──▶ vault folder ──▶ Syncthing ──▶ your other devices
                                                    (only ciphertext ever leaves the machine)

Setting it up

  1. Install SyncthingOn every device that should hold the files.
  2. Install CryptomatorOn the devices where you need to open the files.
  3. Create a vaultInside a folder that Syncthing will share. Pick a strong password: it is the encryption key.
  4. Pair the devicesIn Syncthing's UI (http://localhost:8384), add each device by ID or QR code and accept on both sides.
  5. Share the folderShare the folder holding the vault. Every device now receives the encrypted vault.

Installation

Linux

# Debian / Ubuntu
sudo apt install syncthing
systemctl --user enable --now syncthing

# Arch
sudo pacman -S syncthing

# Cryptomator: AppImage or Flatpak from cryptomator.org, or the AUR on Arch
flatpak install flathub org.cryptomator.Cryptomator

macOS

brew install syncthing && brew services start syncthing
brew install --cask cryptomator

Windows

winget install Syncthing.Syncthing
winget install Cryptomator.Cryptomator

Mobile

  • Android: the original Syncthing app was discontinued in 2024; use the community fork Syncthing-Fork (F-Droid or Play Store). Cryptomator is on the Play Store.
  • iOS: Möbius Sync is a Syncthing client; Cryptomator is on the App Store.

Real-world uses

Work documents

Laptop and desktop stay in sync, encrypted end to end.

Phone photos

Auto-sync to a home server. No third party scanning your pictures.

Family vault

Tax papers and medical records, shared only with trusted devices.

School notes

Coursework between laptop, phone and home PC, for free.

"But what about…"

…devices that are never online at the same time?

Run Syncthing on an always-on machine, like a homelab container or an old laptop. It acts as a hub and everything catches up through it.

…a public computer?

Do not unlock your vault on a machine you do not trust; that is the point. Keep a separate, unencrypted folder for non-sensitive files if you need them anywhere.

…an off-site backup?

You can put the encrypted vault on any cloud drive. The provider stores it but only ever sees ciphertext. Syncthing also has "untrusted devices": a remote peer that stores your folder encrypted without ever holding the key.

…deleting something by mistake?

Syncthing has per-folder file versioning (trash can, simple or staggered). Turn it on for anything important. Sync is not a backup on its own: a deletion syncs too.

Pro tips

  • Use .stignore to skip caches, temp files and OS junk.
  • Make one device receive-only for critical folders, so a mistake on another device cannot propagate into your safe copy.
  • Sync your password manager database (KeePassXC works well) with Syncthing. It is already encrypted, so it fits right in.

Honest trade-offs

This is not free of effort. You manage your devices, you are responsible for backups (3-2-1: three copies, two media, one off-site), and there is no support hotline. In exchange you get no subscription, no lock-in, no storage cap but your disks, and nobody between you and your files.

Your files. Your devices. Your rules.

Resources

Syncthing docs

Official documentation and forum.

Cryptomator docs

Vault format, security model, guides.

Syncthing on GitHub

Source code and issues.

Cryptomator on GitHub

Source code and issues.