diff --git a/docs/architecture.md b/docs/architecture.md index 4a326d8..2b60763 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -345,13 +345,16 @@ store changed. `SqliteKeyStore` is the same table as a `KeyStore`, with the binding: `put` replaces a row of the same `(kind, uid)` and keeps its name, origin and default flag, a uid another kind holds is refused, a TeamSpeak blob is stored only when its JSON is a tsproto identity whose key has the uid it -names, and the TeamSpeak security level is still computed from the key, never -stored. Signing out of an account is the trait's `sign_out`, run on this -table: it removes the account record and the synced copies, unbinds the -identities only this device holds, keeps the device key (unbound, byte for -byte) when the record says it predates the account, and deletes it when it -does not or when the caller asks to forget it. The engine and the UI do not use -the key store yet; accounts, sign-in and the integrations page are later steps. +names (the error says only that, never the JSON: it is a private key), and +the TeamSpeak security level is still computed from the key, never stored. A +`put` that changes only the binding of a row does not read its JSON again, so a +row damaged outside the client cannot keep a sign-out from unbinding it. +Signing out of an account is the trait's `sign_out`, run on this table: it +removes the account record and the synced copies, unbinds the identities only +this device holds, keeps the device key (unbound, byte for byte) when the +record says it predates the account, and deletes it when it does not or when +the caller asks to forget it. The engine and the UI do not use the key store +yet; accounts, sign-in and the integrations page are later steps. `voelin-identity` comes from the private VoelinProtocol repository as a git dependency pinned by commit ([building.md](building.md#depending-on-voelinprotocol)). diff --git a/docs/building.md b/docs/building.md index 68c70f9..9810b5c 100644 --- a/docs/building.md +++ b/docs/building.md @@ -138,12 +138,14 @@ voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.gi It is pinned by commit until the protocol tags a release that has it; moving to a newer protocol means changing the `rev` (later a `tag`) and committing -the resulting `Cargo.lock`. Cargo fetches it over SSH, so the machine needs -an SSH key that can read VoelinProtocol (an `ssh-agent` or a -`~/.ssh/config` entry for `git.faumaray.com`); if Cargo's built-in git client -cannot use your SSH setup, set `net.git-fetch-with-cli = true` in -`~/.cargo/config.toml`. `voelin-identity` builds AWS-LC from source -(`aws-lc-sys`), which needs a C compiler (gcc or clang) and cmake. +the resulting `Cargo.lock` together with `THIRD_PARTY_NOTICES.md`, which +`scripts/notices.sh` regenerates (the CI notices job fails on a stale one). +Cargo fetches it over SSH, so the machine needs an SSH key that can read +VoelinProtocol (an `ssh-agent` or a `~/.ssh/config` entry for +`git.faumaray.com`); if Cargo's built-in git client cannot use your SSH setup, +set `net.git-fetch-with-cli = true` in `~/.cargo/config.toml`. +`voelin-identity` builds AWS-LC from source (`aws-lc-sys`), which needs a C +compiler (gcc or clang) and cmake. `deny.toml` allows this one git source. **CI and the Docker builds need read access to that repository too**: an SSH