Harden reusable keychain API
This commit is contained in:
parent
4013c868aa
commit
b6ffcde54c
6 changed files with 410 additions and 33 deletions
|
|
@ -352,13 +352,16 @@ are updated with signed `geth keychain admin-add` and `geth keychain
|
|||
admin-revoke` operations; `AdminKeyAdd` carries the public key material needed
|
||||
to reconstruct an OpenSSH `allowed_signers` view. `geth keychain verify` replays
|
||||
the log against the previously accepted admin-key view, mirroring the `git-skm`
|
||||
pattern of verifying key-registry changes from a prior trusted state. `geth
|
||||
keychain sync <node>` pulls keychain operations and signatures from an imported
|
||||
peer over Iroh and imports only operations with a valid OpenSSH signature from a
|
||||
currently trusted admin key over the canonical payload. See
|
||||
`docs/sigchain-keychain.md` for the detailed sigchain design. This is currently
|
||||
a pull-based signed operation log, not a CRDT or Keyhive-style convergent
|
||||
authority.
|
||||
pattern of verifying key-registry changes from a prior trusted state. The
|
||||
transport-neutral replay rules, application-specific signature namespaces,
|
||||
allowed-signers projection, and JSONL sigchain helpers live in `geth-keychain`
|
||||
so other applications can reuse the same identity-log model without depending
|
||||
on the daemon, SQLite, Iroh, or local control. `geth keychain sync <node>` pulls
|
||||
keychain operations and signatures from an imported peer over Iroh and imports
|
||||
only operations with a valid OpenSSH signature from a currently trusted admin
|
||||
key over the canonical payload. See `docs/sigchain-keychain.md` for the
|
||||
detailed sigchain design. This is currently a pull-based signed operation log,
|
||||
not a CRDT or Keyhive-style convergent authority.
|
||||
|
||||
New devices can use the node enrollment flow instead of hand-editing keychain
|
||||
state. `geth node enroll request` creates a canonical, agent-key-signed request
|
||||
|
|
|
|||
Loading…
Reference in a new issue