refactor: centralize peer control caller auth
This commit is contained in:
parent
f88bc851a4
commit
1a6d9db913
3 changed files with 153 additions and 384 deletions
|
|
@ -52,17 +52,17 @@ behavior.
|
|||
- `[ ]` Each command family has a small handler module or function group.
|
||||
- `[x]` Local-only behavior remains covered by existing integration tests.
|
||||
|
||||
- `[ ]` Extract protected peer-control routing.
|
||||
- `[~]` Extract protected peer-control routing.
|
||||
Acceptance criteria:
|
||||
- `[x]` Shared bounded Iroh line-read and send-finish helpers live outside
|
||||
the main feature handler module.
|
||||
- `[x]` Outbound peer-control, pipe-wire, and overlay-wire request helpers
|
||||
live outside the main feature handler module.
|
||||
- `[ ]` Iroh control ALPN handling, nonce checks, peer-card validation, and
|
||||
- `[~]` Iroh control ALPN handling, nonce checks, peer-card validation, and
|
||||
endpoint-binding validation are centralized.
|
||||
- `[ ]` Feature handlers receive authenticated caller context rather than
|
||||
- `[x]` Feature handlers receive authenticated caller context rather than
|
||||
repeating peer-card boilerplate.
|
||||
- `[ ]` Remote request tests still prove discovery alone grants no access.
|
||||
- `[x]` Remote request tests still prove discovery alone grants no access.
|
||||
|
||||
- `[ ]` Extract resource module handlers.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue