Client-held keys
Once a client has a key, its secrets' descriptions, vault entries and the other sealed text below are encrypted in the browser and stored only encrypted. No passphrase, recovery code or unencrypted key ever reaches the server.
Tamper-evident evidence log
Fingerprints (SHA-256 digests), never secret text, anchored daily to RFC 3161 timestamp authorities (one an EU qualified service under eIDAS) and OpenTimestamps (Bitcoin).
No artificial intelligence
No artificial intelligence or model provider ever receives client content; the build fails if code that calls one is added.
Changes outside the app are shown
Changes made directly in the database are noted automatically and shown to the client, never the values.
Who can reach a client's workspace
The client's own people
With the role the client gives them (administrator, member or viewer). Viewers read secret descriptions only if a client administrator allows it.
The firm's staff assigned to the client
Each assignment, and its removal, is in the client's access log.
The firm's administrators
They manage the firm's account and can open every client workspace. Each client sees who they are on its People & access tab.
Two-factor sign-in
Every sign-in needs a six-digit code from an authenticator app on the person's phone, after a password or after a hand-off link from R2 IP or Corollary, with one exception named below. A hand-off replaces only the password: it opens only an existing account that already has its authenticator connected, Lemma's code is still asked for, and the other product issues one only from a session that entered that product's own authenticator code. A hand-off replaces the password only from an R2 IP or Corollary account and authenticator the person linked in Lemma themselves (Linked products, confirmed in the other product with its code); from any other it signs no one in. The database returns nothing, and the server code does nothing, for a session that has not entered its code. The firm's operator can exempt a named account from the authenticator: after its password, that account enters a six-digit code sent to its email instead. This is weaker than an authenticator (whoever knows the password and can read the mailbox gets in, and a forgotten password is reset through the same mailbox), so it is granted to one account at a time, only in the database, never by anyone in the app, and each grant and withdrawal is written to the access log of every workspace the person belongs to. A sign-in with an emailed code cannot open R2 IP or Corollary already signed in, link products or reset anyone's authenticator: those still need an authenticator app's code.
No one else through the app
Every request is checked against these memberships in the database itself (row level security), and users can only read: every change goes through server code that checks the caller first and records evidence.
What happens outside the app is shown to the client
Changes made directly in the database
Through the hosting dashboard, a database console or a migration, they are noted automatically: the table, the operation, the row and the names of the columns changed, never the values. The client sees them on its People & access tab, and the daily sweep records them in its evidence log, which is hash-chained and anchored to independent timestamping services, so entries cannot be edited or quietly removed once anchored.
Software releases
Each deploy of the server code records the exact version (the commit), the functions deployed and who ran it. Clients see the list and it goes into their evidence log.
Client-held keys and sealed content
Who holds the key
Each person sets up their own key in their browser, unlocked with a passkey (Face ID, Touch ID, Windows Hello or a security key) or a passphrase, plus a recovery code they keep. The client names at least two custodians from its own administrators; they create the client's key and decide who holds it. The firm's attorneys hold it only if a custodian grants it to them. Lemma stores public keys and encrypted copies only: no passphrase, recovery code or unencrypted key ever reaches the server. Every grant, revocation and rotation is recorded in the access log and the evidence log.
How a browser checks the key is genuine
Each person's browser checks that the key it receives is the genuine one: every grant is signed by the custodian who made it, and the first time someone receives the key from a custodian, they confirm that custodian's key fingerprint with them (in person or by phone) before using it. The key must also match the commitment made when it was created, and each new version must be proved to come from someone who held the previous one. In the other direction, custodians confirm each person's fingerprint with them before granting. So the server cannot slip in a public key of its own, nor a client key of its own, nor a new version that was not made by a holder of the previous one. Once a client has a custodian, only a custodian can name another, and the firm cannot remove or demote a custodian.
Two limits. The firm invites a client's first administrators, so the client should check who its custodians are (they are listed on People & access); and the server could offer an older genuine version of the client's key as current (one a revoked person still holds). A browser that has seen a later version refuses that, but a browser opening the key for the first time cannot tell; people should check the version shown on the Keys card against the one their custodians last announced.
What is sealed
Once the client has a key, its secrets' descriptions, public baselines and distinguishing elements (and their history), its vault entries, its portfolio descriptions, its measures' evidence notes, its lock amendment notes, its disclosure commitment elements (and, separately, their salts) and its damages bases are encrypted in the browser of the person saving them (AES-256-GCM with the client's key, bound to the record they belong to) and stored only encrypted; the server refuses plain text for that client.
Particularity scores, identification checks and the fingerprints recorded in the evidence log for that text are computed in the same browser, and the evidence log says so; the fingerprints are keyed with the client's key, so they confirm nothing to anyone without it (fingerprints recorded before the client had a key were not keyed; those of control notes were plain SHA-256, so a guessed note can be checked against them). People without the key see the score recorded with the last change. After a rotation, the content is re-sealed with the new version.
A disclosure commitment is built in the browser too: the server checks that its root matches its leaves and dates the root; when an element is released, the browser first opens its text, the release is recorded, the server then returns the sealed salt, and the browser completes the proof and checks it against the dated root before it is downloaded.
Agreement and certificate files
Agreement and certificate files kept in Lemma for a client with a key are encrypted the same way before upload, bound to where they are stored, and only the encrypted copy reaches the server. Their SHA-256 fingerprints are those of the files themselves, so anyone holding a file can still match it. Opening one decrypts it in the browser and checks it against its fingerprint before it is saved. "Seal existing content" encrypts files kept earlier, after checking each against its fingerprint, and removes the plain copies and any stored copy no record keeps. A file it cannot seal is left as it is and listed. Because Lemma cannot see inside a sealed file, someone holding the key could store a different file in a record's place; the fingerprint in the evidence log would then no longer match, and opening the file says so.
Evidence log, timestamps and other protections
- The evidence log stores fingerprints (SHA-256 digests), never secret text, and is anchored daily to RFC 3161 timestamp authorities, one of them an EU qualified time-stamping service under eIDAS, and OpenTimestamps (Bitcoin). Only the SHA-256 of each day's batch is sent to them.
- Encryption in transit (TLS) and at rest (the hosting provider's disk encryption).
- The web app signs a person out after 10 minutes without activity (in every tab), with a warning a minute before.
- No artificial intelligence or model provider ever receives client content; the build fails if code that calls one is added.
- Hosting: Supabase, which reports SOC 2 Type II and ISO/IEC 27001:2022 for its platform. Lemma's own controls (its code, access and releases) are not yet independently audited; this page is not a certification.
Limits we state plainly
Reading is not recorded
Someone with direct database access (the firm's database administrators, or the hosting provider's support staff, who under its policy access a project only when asked for help or to respond to a security incident, and log that access) could read data without leaving a change behind. For a client with a key, the text of its secrets, its vault, its portfolio descriptions, its measures' evidence notes, its lock amendment notes, its disclosure commitment elements, its damages bases and its kept agreement and certificate files are stored only encrypted, so such a read yields ciphertext. Other details stay readable to them: names of secrets, dates, the roster, the status of each measure, amounts, and file names and sizes.
Content saved before the client had a key
Text and files saved before the client had a key stay readable until someone holding the key runs "Seal existing content". The hosting provider's backups keep earlier copies until they expire under its retention period.
What a browser can check on its own
Once a browser has seen that a client has a key, it never sends that client's text unsealed again, even if the server later says otherwise, and it seals only for the client whose workspace is open. A browser that has never seen the client's key (a new device, cleared data) has to believe the server about whether the client has one. And because a secret's earlier wordings are sealed under the same key, the server could show an earlier wording as the current one, and the same holds for a vault entry, a portfolio description or a measure's note (an earlier sealed version of the same record); the evidence log dates every change, so this would be visible against it.
Program records are not sealed
Program records (campaigns, incidents, counterparties, deal purposes and similar notes kept by the program tools) are not sealed; keep trade-secret text out of them.
Who works with sealed records
For a client with a key, protective measures are attested, amendment notes written, disclosure elements committed and released, damages bases recorded, and agreement and certificate files kept and opened from the browser of someone holding the key; people without it see that the text is sealed. An element's salt (what makes it provable to others) is sealed apart from its text and is handed out only with a recorded release, except to the key holder who seals or re-seals it (that is recorded as a sealing, not a release).
A database owner could switch the noting off
By disabling it (a session that only imitates the app is still noted: only the app's own database login counts as the app). Entries already anchored cannot be altered without it showing against their timestamps. Entries written while an owner held that control and not yet anchored are a different matter: a timestamp proves when an entry existed, not that it describes something that happened, or that the log for that period is complete.
The server key counts as the app
A write made with the server's secret API key, through the database API, is what the app's own server does, so it is not noted as a change outside the app. The key is kept only in the server's settings; anyone holding it can act as the app.
Fingerprints you register yourself
Fingerprints you register yourself (a file, or text typed into the fingerprint box) and review notes are plain SHA-256, so anyone holding the same content can match them. That is their purpose for files; do not type short secret text into the fingerprint box.
The firm ships the code
A malicious release could change what the app does, including capturing a key in the browser. Every release is recorded, and in the client-owned option (roadmap) the client reviews and installs releases itself.
Break-glass rule
Production database access outside the app.
- Nobody at the firm uses the hosting dashboard's table editor or SQL console, or a direct database connection, against production client data except to keep the service running or to answer a client's own request.
- Before access, the person writes down the reason and the client(s) affected and, unless it is an emergency to keep the service running, obtains the client administrator's approval in writing.
- Any change made is listed automatically on the client's People & access tab and recorded in its evidence log. The person tells the client what was done the same day.
- Read-only access follows the same rule even though it leaves no record; that is why secret content is sealed with client-held keys.
- At most two named firm administrators hold the hosting account's owner role, with multi-factor sign-in.
Roadmap
- Client-owned deployment: the database in the client's own Supabase account, with signed releases the client reviews and installs itself; the firm has no standing access.
- Independent assurance: a SOC 2 Type II report (Security and Confidentiality) and an annual penetration test, when budget allows.
Lemma is provided by R2 Works. Questions about this page go to your attorney there.