Separate bearer ids from private tokens
This commit is contained in:
parent
3382899628
commit
460acab67b
9 changed files with 198 additions and 62 deletions
|
|
@ -270,14 +270,15 @@ key envelopes, bearer secrets, and rotation. Revocation for private data is
|
|||
modeled initially as secret epoch rotation. The daemon persists resource secret
|
||||
epoch metadata through `secret create/rotate/status`. Bearer access is recorded
|
||||
as resource-scoped auth operations and rejects trust-mutation capabilities such
|
||||
as `auth.delegate`, `auth.revoke`, and `node.enroll`. Bearer challenge/proof
|
||||
commands derive deterministic BLAKE3 keyed responses from the bearer secret,
|
||||
resource, nonce, and requested capabilities, then verify them against active
|
||||
resource-scoped bearer grants. Remote resource operations can carry optional
|
||||
bearer proofs over the protected Iroh control path; a valid proof authorizes
|
||||
only the requested resource capability and does not create node trust. The daemon
|
||||
does not yet store payload key material, encrypt resource data, distribute key
|
||||
envelopes, or separate public bearer ids from private bearer tokens.
|
||||
as `auth.delegate`, `auth.revoke`, and `node.enroll`. Bearer creation returns a
|
||||
private bearer token once and stores a separate public bearer id plus token
|
||||
verifier in the auth log. Bearer challenge/proof commands derive deterministic
|
||||
BLAKE3 keyed responses from the private token, resource, nonce, and requested
|
||||
capabilities, then verify them against active resource-scoped bearer grants.
|
||||
Remote resource operations can carry optional bearer proofs over the protected
|
||||
Iroh control path; a valid proof authorizes only the requested resource
|
||||
capability and does not create node trust. The daemon does not yet store payload
|
||||
key material, encrypt resource data, or distribute key envelopes.
|
||||
|
||||
## Multi-User Direction
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue