Security model
This page describes what OpenPanel does today. Features that are not available yet are not part of it.
What OpenPanel stores
| What | How it is kept |
|---|---|
| Your account: name, email, picture | In OpenPanel's database. |
| Your password | Only as a scrypt hash. OpenPanel cannot read it back. |
| Your two-factor secret and backup codes | Encrypted with the sign-in system's own key. |
| Organizations, members, roles and invitations | In OpenPanel's database. |
| Projects, services and their settings, deployments, domains and access | In OpenPanel's database. |
| A variable's value | In OpenPanel's database, unless it is a secret. |
| A secret variable's value | Sealed with AES-256-GCM. See Secrets and encryption. |
| A server's address, SSH port, host key, system facts and setup steps | In OpenPanel's database. |
| A server's SSH private key and console password | Sealed with AES-256-GCM. |
| Git accounts' tokens, passwords and deploy keys | Sealed the same way. |
| Each service's push-to-deploy secret | Sealed the same way. |
| API keys, and the agents' one-time enrolment tokens | Only as SHA-256 hashes. A key is shown once, when it is made. |
| Each server's agent | Only the public half of its key. The private half never leaves the server. |
| The audit log | In OpenPanel's database, append-only. See Audit log. |
| Enterprise sign-in: your domain, sign-in URL and signing certificate | In OpenPanel's database. The certificate is public by nature. |
What OpenPanel does not keep:
- The password you type to connect a server. It is used once to sign in and is not stored.
- Your card. Our payment processor keeps it; OpenPanel reads your plans and invoices from the processor when the billing page opens.
- Your private network's traffic. It goes between your devices, encrypted; see How the private network works.
What runs on your servers
After the setup, a connected server runs:
- the OpenPanel agent, which runs your services and connects out to OpenPanel;
- the
openpaneluser, which signs in only with OpenPanel's key; - SSH on a random port, keys only, with root sign-in off;
- a firewall (ufw) that closes everything but SSH, HTTP and HTTPS, including ports Docker publishes, and fail2ban against repeated failed sign-ins;
- automatic security updates;
- Docker;
- the private network's daemon, from Tiltas.
What OpenPanel changes on your server lists every change, and Server hardening sums it up.
How OpenPanel reaches a server
Through the agent
The agent makes one outbound TLS connection to gateway.openpanel.sh and keeps it. Nothing connects in for it, and your services' containers publish no ports.
- It proves who it is with an Ed25519 key it made on the server at enrolment, by signing a fresh challenge at every connection. The private key never leaves the server.
- It is enrolled with a one-time token that works once, within an hour, and is handed to it on its input, never on a command line.
- It installs only a signed release. The installer checks an Ed25519 signature over the release's checksums, and each file's checksum, before installing anything.
- Secrets reach it sealed. A secret variable, or a build's Git credentials, travel sealed with a key only OpenPanel's app and gateway hold, and are opened only on their way to the agent, over its authenticated connection.
- Disconnecting revokes it. The gateway refuses a revoked key and ends its connection within a minute.
See The OpenPanel agent.
Over SSH
OpenPanel also signs in over SSH, from its own servers:
- With its own key. During the setup OpenPanel makes an Ed25519 key for the server, installs its public half for the
openpaneluser, and seals the private half. Each server has its own key. - On the port the setup chose, which the firewall opens.
- Only to public addresses. The host name is resolved at every connection, and private or reserved addresses are refused, so the setup cannot be pointed at OpenPanel's own network.
- To the same machine. The server's SSH host key is remembered at the first connection; a different key later is refused.
- For what you ask. OpenPanel signs in to run the setup, to read a server's live state and system log, to join it to the private network, to check a Git account reached through the private network, and to disconnect it.
So a server still needs its SSH port reachable from the internet.
Who can see what
- Every member sees the organization's servers, their live state, the private network, the Git accounts, and the projects their role or their own access reaches.
- The Owner and Admins also see a server's system log and its console password, read the audit log, and make every change. See Roles.
- A private project is seen only by the people given access to it, and the Owner. See Private projects.
- An API key acts as the person who made it, never with more than their current access, capped by its own scope. See Authentication.
- A secret never goes back to the browser, the API or the CLI, except a server's console password shown to the Owner or an Admin, an SSH Git account's public deploy key, and an API key or a push-to-deploy secret at the moment it is made.
Signing in
Passwords have 10 to 128 characters, email addresses are confirmed before the first sign-in, and sign-in, sign-up, password reset and two-factor attempts are rate-limited. Two-factor sign-in and passkeys are open to every account, and SAML single sign-on to every organization. See Your account security.