claubase manual
claubase is early software for encrypted git repositories, team folders and messaging inside one company, on a server that is never trusted. “Clau” is Catalan for key.
Test use only. Members can manage names, devices and recovery keys with a command, against a test setup. Repositories, folders and messaging are not built. The code has had no outside security review. Do not protect real secrets with it.
This manual describes the commit this site is built from, the same one as the downloads. claubase-root version prints it.
What exists today
| Part | State |
|---|---|
| Core signed formats, company root checks, signature chain replay | Built |
Root tool, claubase-root | Built |
Log server, claubase-log | Built |
| The checks a client runs on the log server | Built |
| Witness cosignatures and freshness checks | Built |
| User keys, recovery, adding a second device | Built |
Member command, claubase | Built |
| Desktop app | Partly built, no download |
| A production root, server or witness | None yet |
| Teams, encrypted git, folders, messaging | Not built |
| Outside security review | Not done |
Who does what
Root key holders
Four people each hold one root key, offline. Any three together certify the log server's key and each person's first device key, replace a lost recovery key, change the root, and reset names. One holder alone can certify nothing. Their tool is claubase-root. They also give each member a setup file and a printed sheet, made with claubase setup make.
The operator
Runs the log server. The operator is not trusted: every client checks what the server returns.
The witness
Someone who does not administer the server cosigns its checkpoints, so that two different histories shown to two people get caught. This holds only while the witness keeps its state: one that lost it can cosign a rolled-back log, which new computers accept without a warning.
Members
Everyone else. With claubase a member sets up a computer, asks for a name, adds and revokes devices, looks after a recovery key, checks colleagues and reads security alerts.
What an admin can do today
- Make a test root or run the root ceremony, and certify the log key, names and replacement recovery keys.
- Run the log server, publish certificates, back it up and change its key.
- Run a witness and add or disable logs on it.
- Let a member in to a test setup.
- Not yet: teams, or suspending someone who leaves. Only their own keys can revoke their devices; the root holders can reset the name, which every client reports.
Limits to know before you start
- Removing someone does not take back what they already decrypted. Rotate real secrets too.
- The server learns membership and sizes, who pushed and when, and it can refuse service.
- Three root holders acting together can take over a name by resetting it. The design has every client report each reset.
- If two root keys are lost, no rotation is possible. The only recovery is a new root, whose fingerprint must reach every client by another route.