Skip to content
docs/security
Get started

Authentication and encryption

Sign in with your account. Passwords use Argon2id hashing. The dashboard keeps short-lived bearer tokens in memory and uses single-use tickets to open WebSocket connections. Origin checks protect browser authentication requests. Signing out ends that session’s access tokens.

The iOS app and remote CLI use device credentials with rotating refresh tokens. Revoke a device in Settings to end its access.

The dashboard listens on localhost by default. For remote access, configure HTTPS with --http-tls-cert and --http-tls-key, or use a reverse proxy and set --public-url to its HTTPS address.

Workers and controllers use TLS 1.3 with mutual TLS (mTLS) and pinned peer identities. Enrollment uses a short-lived, single-use token to establish trust. Either end can open the connection.

Installed binaries verify Ed25519 signatures against their built-in release public key and check SHA-256 digests. The initial installer downloads over HTTPS and checks the published digest. Workers follow their controller’s build.

Notification contents are sealed for each device using HPKE with X25519, HKDF-SHA256, and AES-128-GCM. The relay and Apple deliver the encrypted payload; the device opens it. Payloads are padded to a fixed length.

See what is stored and sent for data storage and notification metadata.