Using claubase

For testing only. Names, devices, recovery keys, colleagues and alerts work, against a test setup with a test root. Nothing runs in production and the code has had no outside security review. Repositories, folders and chat are not built. Do not protect real secrets with it.

Your computer checks each colleague's name and devices against the company root, so a lying server cannot slip in a fake colleague without being noticed.

Get the command

claubase runs in a terminal on macOS and Linux. Download it from the download table and check it against SHA256SUMS, then make it executable and name it claubase. claubase help lists every command.

There is no public server to join. You need a setup file from whoever runs your test setup (how they make one).

Your first device

A root holder gives you a setup file and, separately and in person, a printed sheet with the setup fingerprint.

claubase init --setup claubase.setup
claubase name request mira --out mira.request
  1. init asks you to type the setup fingerprint from the sheet. If it is refused and you typed it right, stop and ask for a new file and sheet.
  2. A name is up to 32 lower-case letters, digits and hyphens, starting with a letter or digit.
  3. Send the request file to the root holders. One of them checks your key with you in person; three of the four sign. This can take a day.
  4. Run claubase enrol --cert mira.cert with the certificate they send back. It shows your recovery key, 32 characters in groups of four, and asks you to type it back. Keep it on paper. It is not stored on your computer.

More devices, and lost ones

Colleagues and alerts

If the server shows your computer an older history than it has seen, claubase refuses it and says “sync paused”: tell your security contact. If the witness goes quiet, claubase warns you and, after a day by default, stops trusting added keys.

Files and exit codes

Your files are in ~/.config/claubase on Linux and ~/Library/Application Support/claubase on macOS, readable by you alone. --home DIR or CLAUBASE_HOME chooses another place. One home holds one name. Recovery keys are typed only at a terminal; clear its scrollback once a new key is on paper. Exit codes: 0 done, 1 failed, 2 wrong usage, 3 done but something needs your attention.

The desktop app

The app uses the same home as the command and shows real data. It can set up a computer, request a name or add a device, approve and revoke devices, look people up and show alerts. Enrolling with a certificate, recovering and replacing a recovery key stay in the command; the app shows you what to run. It has no repositories, folders or chat.

There is no app download. The macOS build is signed only ad hoc, which is enough for the computer that built it and not for handing to others. It is not notarised. To try it, build it from the source: bin/build-app-mac on a Mac (needs Go and the Xcode command line tools), or bin/build-app for Linux in Docker.

Repositories, folders and chat (not built)

The aim is plain git against an encrypted remote. The address below comes from the design and may change; it does not work today.

git clone claubase://mosswood/platform/infra-config

The server could not read your code, so there would be no web diffs or pull requests. Someone removed from a team could not read new pushes, but would keep any clone they already have.

The mascot holding a tablet and a phone side by side.