Document the key store's error text, the rebind put and the notices step

architecture.md: a refused TeamSpeak blob says only that it is refused, never
its JSON (a private key), and a put that changes only a row's binding does not
read the JSON again, so a damaged row cannot keep a sign-out from unbinding
it. building.md: moving the protocol pin commits Cargo.lock together with the
notices scripts/notices.sh regenerates; the CI notices job fails on a stale
THIRD_PARTY_NOTICES.md, which is what 015c938 did.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-20 06:21:45 +03:00
1 parent 71edc7cc2f
commit 4ab019fcb8
2 files changed
+18 -13

No files matched your search

+10 -7
View File
@@ -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)).
+8 -6
View File
@@ -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