casatorch.com

Security and encryption

What CasaTorch keeps on your box and how it's protected, what leaves your home and who can see it, and what to do if something is lost or stolen.

CasaTorch is built so that your home's data lives in your home. This page explains what CasaTorch keeps, how it's protected, what leaves your home and who can see it, and what to do if something is lost or stolen. Where something is not encrypted, we say so. We keep the inner workings (exact methods, limits and timings) out of public pages, so they don't double as a guide for attackers.

At restSecrets encryptedEvery token, API key, device password, private link and private key CasaTorch saves is encrypted with a key unique to your CasaTorch, made on the box.
PasswordsNever storedCasaTorch can check your password but never read it back. Recovery codes and sign-ins are protected the same way, so a copied file can't be used to sign in.
As you typeEncrypted in your browserPasswords and keys are encrypted in your browser before they're sent and stay encrypted on your box; they're only opened at the moment they're needed.
In transithttps on your own Wi-FiYour CasaTorch gets its own secure address at home. Everything it sends to online services is encrypted too.
Never shown backSaved, not shownSettings shows that a key or password is saved, never the key itself - and secrets are kept out of logs and support files.
AlertsEnd-to-end encryptedPhone alerts are encrypted on your CasaTorch for one device. Apple, Google and casatorch.com carry them but can't read them.

How the pieces connect

YOUR HOME NETWORK Browsers, walltablets, phone app Nothing secret stored httpsencrypted Home Assistant,cameras, hubs Each device's ownconnection, on yournetwork CasaTorch Box, Pi, PC, NAS or HA add-on YOUR DATAprivate to the box Secrets · encrypted Passwords · never stored Recovery codes · protected Sign-ins · protected Home data · owner-only Certificate key · stays here Answers https on your network Plain http only as a fallback Opens no ports on your router Internet connections: encrypted OUTGOING ONLY · ENCRYPTED casatorch.comNames, update check, find, Pro keys,sealed-alert relay. Keeps no home data. Certificate authoritySigns the certificate. Never sees the key. Apple and GoogleCarry sealed alerts to phones.Can't read them. Secure Remote AccessPRO Your home from anywhere, through anencrypted relay. Opens only on thedevices you approve. Services you connectWeather, calendars, Ring, AI… only if used
Nothing on the internet can open a connection into your home: every arrow out of the box starts at the box.

What's stored on your CasaTorch

Everything CasaTorch keeps lives in one private data folder on the box, readable and writable only by CasaTorch itself (and the computer's administrators). CasaTorch checks those permissions regularly and tightens anything another program left looser.

WhatWhat it holdsHow it's protected
Your CasaTorch's own keyA key unique to your CasaTorch, made the first time it starts.Kept apart from the secrets it protects. Never sent anywhere, except inside a backup you make (which is itself encrypted with your passphrase).
Settings and connectionsYour answers from setup and Connect: house name, time zone, which devices and services are connected.Every secret in them is encrypted, on disk and in CasaTorch's memory. Names and addresses that aren't secrets are stored plainly, in files only CasaTorch can read.
People and sign-insPeople, roles, e-mail addresses, two-step settings, signed-in devices, wall-panel links.Passwords are never stored - only a one-way check. Two-step secrets are encrypted. Recovery codes, invite links, wall-panel links and sign-ins are protected the same one-way, so the files can't be used to sign in.
Alert keysThe keys that protect alerts for your phones and browsers.Encrypted.
The secure address at homeYour CasaTorch's certificate and its private key.The private key is made on the box and never leaves it.
Security logSign-ins, failures and every account or security change, with the device's address.Readable by owners and admins in the app. Holds no passwords, codes or tokens.
Home dataEnergy and sensor history, alerts, the CasaTorch calendar, layouts, the devices seen on your network, reminders, photos, floor plans and 3D scans.Private files only CasaTorch can read. Not separately encrypted: on your own hardware, turn on disk encryption to protect them against theft (see below).
Secure Remote Access helperThe small program that carries Secure Remote Access, only if it's turned on.Checked before it's installed; one that doesn't match is refused.

Not stored at all: camera pictures (kept in memory only, the newest one per camera), your Ring password (used once to sign in), your backup passphrase, and the Home Assistant add-on's own sign-in (Home Assistant hands it to CasaTorch each time it starts).

Which secrets are encrypted

Every secret you give CasaTorch is encrypted before it's saved: Home Assistant and Ring sign-ins, network and AI API keys, camera and Frigate passwords, camera snapshot addresses (they can contain a camera's login), private calendar links, hub keys, the Pro key and the Secure Remote Access key. Settings saved by an older version are encrypted automatically the next time CasaTorch starts.

From the moment you type them

Passwords and keys are encrypted in your browser before they're sent and stay encrypted on your box; they're only opened at the moment they're needed.

  • As you send them: setup, the sign-in page and Settings encrypt each password and key for your own CasaTorch before it leaves the browser - on the secure address and on the plain http address alike.
  • On the box: CasaTorch keeps them encrypted in memory as well as on disk, and opens one only when it's about to use it - for example to sign in to Home Assistant or a camera.
  • Never shown back: Settings shows that a key or password is saved, never the key itself. Secrets are kept out of the log, the support file and error messages.
  • If a browser can't encrypt them (a very old one), CasaTorch only accepts passwords from it on the secure https address.

Encrypting in the browser protects your passwords from anyone listening on the network, but the rest of a plain http connection (the pages and your home's data) is still readable. The secure address protects all of it - prefer it.

How it's protected

CasaTorch uses standard, well-reviewed protections - no home-made security.

WhatHow
Secrets on the boxEncrypted with a key unique to your CasaTorch. A changed or damaged value is refused, never half-read.
Passwords and keys as you send themEncrypted in the browser for your own CasaTorch.
Sign-in passwordsNever stored. CasaTorch can check a password but never read one back.
Recovery codesProtected like passwords. Each works once.
Sign-insEach device has its own; the box can't hand a copy to anyone. A sign-in lives only in your browser or the phone app's secure storage.
Two-step sign-inCodes from any authenticator app. The secret behind them is encrypted, and a code can't be used twice.
BackupsThe whole file is encrypted with your passphrase.
Phone app alertsEnd-to-end encrypted for each phone, and signed by your CasaTorch so nobody else can send as your home.
Web-app alertsEncrypted for that browser alone.
Pro keysSigned by CasaTorch and checked on your box. From the next version, a short daily check with casatorch.com also tells it about a renewal, a cancellation or a refund.
Updates (Linux, Pi, Box)Signed by CasaTorch and checked before anything is installed. An update that doesn't match is not installed.

Your CasaTorch's own key

Your CasaTorch's key never leaves it except inside a backup you make, and CasaTorch never overwrites it: if it can't be read, CasaTorch stops with a clear message instead of starting over.

In the computer's own key storage Next version: where the computer has secure key storage, the key is kept there, so a copy of the data folder on its own opens nothing. Existing installs move over by themselves, and CasaTorch never locks you out: if the key storage doesn't open, CasaTorch keeps running and says so in Health. An owner can also make a new key in Settings › Health › Secret key; nothing needs entering again, and backups still restore on any computer.

What encryption protects against, and what it doesn't. Because the key is kept apart from what it protects, a copied settings file on its own - pasted into a forum, sent to support, left in an old folder - reveals no tokens or passwords. Someone who has the whole data folder, key included, can open the secrets, because CasaTorch has to be able to open them itself to start without you. Protecting the whole box is the job of the device's own security: see If something is lost or stolen.

Signing in

  • Accounts: nobody signs themselves up. The owner adds people and sends a one-time invite link that expires. "Sign in with Google" only works for people the owner already added, matched by a verified e-mail.
  • Guessing is cut off: repeated wrong passwords or two-step codes pause sign-in for a while, and the answer never says whether an account exists.
  • Sign-ins stay put: each browser and phone has its own sign-in, which pages and other websites can't read. Unused sign-ins end by themselves.
  • Only CasaTorch's own pages can change things: another website can't use your browser to switch your lights or change settings.
  • Before setup: only setup can change anything, and from any device other than the computer CasaTorch runs on, setup needs the owner's one-time setup code.
  • Your devices: everyone can see their own signed-in devices and end any of them; changing your password or turning on two-step sign-in signs out your other devices.

Browser protections

Every page comes with modern browser protections: CasaTorch's pages only run CasaTorch's own code, other websites can't frame or embed them, browsers are told to keep using https, and home data is never kept in the browser's cache. From the next version they're stricter still.

In transit

ConnectionEncryptionDetails
Passwords and keys you typeEncrypted in the browserEncrypted for your CasaTorch before they're sent, on any address (see From the moment you type them), and opened on the box only when used.
Your browser or tablet to CasaTorch, at homehttpsThe secure address at home (on by default) has a real certificate. Its private key is made on your CasaTorch and never leaves it. Traffic goes straight across your Wi-Fi; it doesn't go out to the internet. Opening the plain address moves the browser to https before the sign-in page.
The plain address (fallback)None (except passwords and keys)The plain http address keeps working on your home network for devices that can't reach the secure address (before the certificate arrives, if it's turned off, or when a router blocks the name). The app warns when you're on it. Prefer the secure address.
CasaTorch to the internetEncrypted, certificate checkedcasatorch.com, phone alert services and every online service you connect.
CasaTorch to devices on your networkWhatever the device supportsHome Assistant, cameras and hubs often only offer plain http on the home network; CasaTorch uses https when you give it an https address. For Frigate, CasaTorch remembers the certificate you trusted and refuses to send the password if it changes.
Secure Remote Access, away from homeEncrypted all the way to your homeYour phone reaches your CasaTorch through an encrypted relay that your CasaTorch connects out to - nothing on your router changes. The relay service decrypts requests briefly while passing them on, so it's encrypted on every network it crosses but not end-to-end. casatorch.com is not in this path and stores nothing. On Basic, the address only answers from your home internet connection. Step by step: Secure Remote Access, explained.

What passes through casatorch.com

Every connection to casatorch.com is encrypted. There is no CasaTorch account and no copy of your home on casatorch.com.

WhatWhat casatorch.com seesWhat it keeps
Update check (daily)CasaTorch's version and how it was installed.Nothing about you.
Find my CasaTorch (every 10 minutes)A random id, the box's address on your network, its version.For 30 minutes, shown only to browsers from the same home internet connection. Turn off in Settings › Updates & backup.
Secure address at homeA random id, the box's address on your network, and a one-off value the certificate authority checks.A public name pointing at that address (public, by design). Never the certificate's private key.
Phone app alerts ComingYour CasaTorch's random id and public key, each phone's alert address and platform, whether an alert is critical, and the sealed alert.Your CasaTorch's public key (so nobody else can send as your home) and a count of alerts, to prevent abuse. Never what an alert says.
Pro key by e-mail, renewals and the daily checkYour e-mail and a one-time code, or your current key.Your purchase record, as any shop does. The daily check (next version) sends only the key and a one-way code for this home.
Secure Remote AccessYour CasaTorch's random id and house name, when it's turned on, repaired or turned off.The address it created, your house name, and proof of a secret only your CasaTorch holds (so nobody else can change or remove it). From the next version, also what the approved-devices protection needs: your home's public key, devices you removed (as random ids), the countries you allow and whether remote access is locked. The traffic itself never goes through casatorch.com. Who sees what.

The full list of what leaves your home (weather, calendars, AI and so on) is on Privacy and safety.

Phone alerts, end to end

  1. The phone makes a key. When you turn on alerts in the CasaTorch app, the phone makes a key for that home and gives it only to your CasaTorch, over your signed-in connection. On your CasaTorch it's encrypted like every other secret.
  2. Your CasaTorch seals each alert. Title, text, home name and link are encrypted for that one phone, and signed by your CasaTorch.
  3. casatorch.com checks and passes it on. It checks the alert is really from your home, then hands it, still sealed, to Apple (iPhone and iPad) or Google (Android). The only readable text they carry is "New alert from your home".
  4. Only the phone opens it. The phone shows the real alert. Nothing about the alert's content is visible on the way.

Web-app alerts (the home-screen web app) are encrypted for that browser and sent straight to the browser's own alert service (Apple, Google, Mozilla or Microsoft), without casatorch.com.

On your phone

Coming The CasaTorch app isn't in the App Store or Google Play yet. As built:

  • Sign-ins stay on the phone: each home's sign-in is kept in the phone's own secure storage, on this device only - not in cloud or computer backups. With the app's lock on, the phone itself asks for Face ID, Touch ID, your fingerprint or the passcode before handing it over.
  • Private in the app switcher: with the lock on, the app's screen is hidden from the recent-apps view.
  • Each phone has its own sign-in. The app keeps no home data - it shows your CasaTorch's pages. Signing a phone out, or ending its session in Settings › Phones & alerts, removes its alerts too.

Backups

A backup is one file with your settings, connections, people, calendar, history, alerts, floor plans and (if you choose) photos and scans - including your CasaTorch's own key, so a restore brings everything back. The whole file is encrypted with your passphrase, so a wrong passphrase or a damaged file is detected before anything is changed. CasaTorch never keeps the passphrase: if you lose it, the backup can't be opened by anyone, including us. Sign-ins aren't included, so everyone signs in again after a restore. Only the owner can make or restore a backup (or whoever sets up a brand-new CasaTorch, from its first setup screen).

Logs

CasaTorch's log (in Settings › Advanced, and in the system log) masks anything that looks like a secret - passwords, tokens, keys, logins inside addresses - before it's kept or written. The in-app copy is kept in memory only. The security log records events, never passwords, codes or tokens.

A log you can trust

Next version An event in the activity log changed, removed or slipped in by anything other than CasaTorch shows up in Health, and the download is signed so it can be checked later. Settings › Health also gets a Security score: which protections are on, each with a button to turn it on.

If something is lost or stolen

If…What they could getWhat to do
Someone steals the box (or its SD card or disk)Your home data and, with effort, your connected services' sign-ins, unless the disk itself is encrypted. Not your sign-in passwords (they're never stored) or your phones' sign-ins.On your own hardware, turn on the operating system's disk encryption (FileVault, BitLocker, LUKS). After a theft: change your CasaTorch passwords, and sign CasaTorch out of connected services (Home Assistant, Ring, API keys) at the service.
Someone gets a copy of a settings file aloneNames and settings. No tokens, keys or device passwords (encrypted), no passwords (never stored).Nothing urgent. Changing your passwords is still good practice.
Someone steals your phoneWith the app's lock on: nothing without your face, fingerprint or passcode.End that phone's session in Settings › Phones & alerts (or in your security settings). Its alerts stop too.
Someone is on your Wi-FiOn the secure address: nothing - it's encrypted. On the plain http address: passwords and keys are still encrypted in the browser, but the rest of what that device sends and receives is readable, including what keeps it signed in. Devices that only offer http (some cameras, Home Assistant on http) are readable by anyone on the same network.Use the secure address. Use a strong Wi-Fi password and a separate guest network for visitors.
casatorch.com is broken intoRandom ids, network addresses for Find, public keys, alert addresses and sealed alerts in flight. No passwords, no home data, no way to read alerts. It can't push an update to Linux, Pi or Box installs either: those need CasaTorch's own signature, which isn't kept there.Nothing on your side. We'd say so on casatorch.com.
Apple or Google is curiousThat an alert was sent to a phone, when, and whether it was critical. Not what it says.-
The relay service, when Secure Remote Access is onIt decrypts the requests it carries briefly while passing them on, as for any website it serves.Leave Secure Remote Access off, or use your own VPN, if you don't want any third party in that path; everything at home works without it.
Another website you visitNothing: it can't send changes to CasaTorch, or frame or read its pages.-
Someone finds your backup fileNothing without the passphrase, and each guess is made deliberately slow.Use a long passphrase (a short sentence) and keep it in a password manager.
Someone in the house uses a signed-in screenWhat that account's role allows. Viewers can only look; only admins change settings; adding two-step sign-in or a phone asks for the password again; nobody can unlock doors, open garages or disarm alarms from CasaTorch.Give wall panels the viewer or member role, and lock the phone app.

Keep your home safe

A few habits make the biggest difference:

  • Keep CasaTorch updated. The Box, the Raspberry Pi image and the Linux package update themselves overnight; on other installs, install updates when CasaTorch says one is available, so security fixes arrive quickly. See Updates.
  • Use a strong password and turn on two-step sign-in for everyone, especially anyone who will use CasaTorch away from home. An owner can require it in Settings › People & sign-in.
  • Use the secure address at home. The plain http address stays on as a fallback, but traffic on it isn't encrypted.
  • Turn on disk encryption on your own computer, NAS or Pi, so a stolen disk doesn't give away your home data.
  • Treat wall-panel links like keys. Open one on the tablet, don't keep it elsewhere, and revoke links you no longer use.
  • Prefer https on your devices. If Home Assistant or a camera offers https, use it: CasaTorch can only encrypt the connections it controls.
  • Keep a backup with a long passphrase, stored somewhere other than the box.

How we keep it secure

Every change to CasaTorch goes through automated security and attack testing before it's released, alongside the rest of the test suite. We fix security issues promptly and ship fixes through the normal automatic updates.

Signed releases

Installers and updates are signed, and each release lists what it's made of. From the next version the Docker image is signed too and runs with as few permissions as possible, and the compose file from casatorch.com/download names the exact image that was published. Each release's notes say how to check it.

Report a security problem

If you think you've found a vulnerability in CasaTorch, the CasaTorch app or casatorch.com, please e-mail [email protected], or report it privately on GitHub (the addresses are in casatorch.com/.well-known/security.txt). Include what you found, how to reproduce it, and which version you tested (it's in Settings › Updates & backup). Please don't share it publicly or test against homes that aren't yours until we've had a chance to fix it. We'll reply, keep you posted, and credit you in What's new if you'd like.

Something unclear or wrong? E-mail [email protected] and we'll fix the page, or ask in our Discord community.