Security model
What is checked,
where secrets live
How keybe decides who may sign in and what may run, and what it does not do yet. Each statement here is what keybe does today.
Your team signs in
Members of an organization sign in with their e-mail and password. Passwords are kept as PBKDF2-SHA256 hashes, set through a one-time link that works for 24 hours, and five failed attempts lock an e-mail for 15 minutes.
A signed-in browser holds a session cookie for 30 days; keybe keeps only its SHA-256. Each app receives an RS256 token valid 8 hours, which it accepts only while that session is on: ending a session signs that browser out of every app at once.
Your users sign in
Each environment of a project is an OpenID provider for the project's own apps, with its own users: standard OAuth 2.0 and OpenID Connect, the authorization code with PKCE (S256), and client credentials for backends.
- Passwords are PBKDF2-SHA256 hashes, never in configuration; five failed attempts lock an e-mail for 15 minutes.
- Codes work once, for 60 seconds, for the client and the redirect URI they were made for. A redirect URI the client did not register is never followed.
- Tokens are RS256 JWTs. Access tokens say they are access tokens, so an ID token is refused where an access token is needed. Refresh tokens change at every use; using an old one again revokes its whole family.
- The sign-in page accepts its form only from itself and cannot be framed by another site.
- Choosing a user without a password, for test users, exists at level Development only, which is never allowed in production. A browser signed in that way is not signed in to a client that asks for a password.
One level per client
Each client of a project has a security level in each environment: Development, Standard, High or Four eyes. From High on, tokens last 15 minutes, a sign-in counts for 12 hours, every client uses PKCE, redirect URIs are https, and the client's API keys work only from the IP ranges they name and expire within 90 days. At Four eyes, every new key, key change, client secret and setting of the client waits for another member's approval on their phone. A level is raised only once the client meets it; keybe says what to fix.
The phone as second step
Pairing. keybe shows a QR code holding a one-time code, valid five minutes. The app makes a P-256 key pair and sends keybe the public key only. Both sides show the same key fingerprint.
Where the key lives. In the phone's secure storage: the Keychain on iPhone, readable only while the phone is unlocked and never in a backup; the Keystore-backed storage on Android.
Every call is signed. The phone signs the method, the path, the time and the SHA-256 of the body (ECDSA, SHA-256). keybe refuses a signature that does not check out with the paired key, or that is more than five minutes from its clock.
Number matching. After a right password, the browser shows a two-digit number and the phone offers three. Only the browser shows the right one, so a sign-in someone else started cannot be approved by tapping yes. A wrong number refuses the sign-in.
Presence. The app asks for Face ID, Touch ID, the fingerprint or the phone's passcode before it approves anything, and can lock itself behind them when opened.
Lost phone. An owner or admin removes it; it stops working at once. A member who leaves the organization has their phones refused and unpaired.
The phone is the second step of your team's sign-in. Your apps' own users sign in with their password; they have no phone step yet.
Approvals
A member asks for approval with a title, a reason and details, names the approvers by role or by member, and how many approvals are needed (1 to 10). keybe takes as approvers only the named members who have a paired phone, never the requester, and refuses a request that cannot reach enough of them. Each approver answers once, from a phone whose key signs the answer. One denial denies the request; it expires at the time given (up to seven days); the requester may withdraw it. Every answer is kept with who gave it, from which phone and when, for 90 days.
Protected environments
A project's owners and admins protect an environment in Strims PM, part of the project's configuration: then every promotion into it, and every member's edit of its configuration (queues, collections, jobs, APIs, assets, content, configuration files), asks for the protection's approvals by itself. Runtime traffic such as messages and rows is never held.
The approval names exactly what is imported or changed, down to the version of each item; it lets that one request through, once, within an hour. A change in between is asked again. Changing or removing a protection waits for its own approvals, so no one lifts it alone.
Configuration values never move from one environment to the next: only their shape does, and each new key takes the environment's own value.
Programs and other identity providers
Each client of a project gets its own API key per environment, shown once and kept as SHA-256, with its grants, IP ranges and expiry. A confidential client's secret is shown once and kept as SHA-256 too. An environment can trust end-user tokens of another OpenID provider next to a client key; keybe checks their signature against that provider's published keys.
Notifications
When its server holds the credentials, keybe asks Firebase Cloud Messaging to tell the phone that a request waits. The notification carries the title and the request's id only. The app then asks keybe itself, with a signed call, and the decision is never taken from a notification. Without push, the app finds requests within three seconds when it is opened.
Not done yet
- The phone's key is in the Keychain or Keystore, not yet in the Secure Enclave or StrongBox.
- There are no codes by text message or e-mail, and no hardware security keys (WebAuthn).
- Your apps' users have no phone step yet.
- keybe's own signing key is not rotated yet.
Questions or a finding: write to us through strims.com/contact.