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:
1 parent
71edc7cc2f
commit
4ab019fcb8
2 files changed
+18
-13
No files matched your search
+10
-7
@@ -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)).
|
||||
|
||||
Reference in new issue
Block a user