Reject peer-originated Remote relay membership

This commit is contained in:
ak47 committed 2026-11-04 14:43:22 -05:00
1 parent 393ff90f00
commit c158321b40
7 files changed
+62 -27

No files matched your search

+18 -26
View File
@@ -34,8 +34,8 @@ are relative to the adjacent `cthulhu` checkout.
| Go SDK | `ServeSession` and `SessionClient` provide 1.1 calls/events; legacy Serve remains unchanged. Real-process tests include blocked pipes and command concurrency. |
| Python SDK | `serve(session_client=...)` provides the same 1.1 lifecycle contract and conformance fixtures as Go, with a cancellable nonblocking pipe transport. |
| Installation | Installer, registry, discovery-to-package checks, local launch and command host now carry 1.1 install grants. Grants do not create session consent. |
| Updates/access | Install/update confirmations disclose grant direction and fresh local approval; disable/failure cancels leases. Updates revoke access before download, including failed preparation. Core consent and I38lock/XTerm policy cancellation now exist; physical-source acceptance, command registration and desktop owners remain pending. |
| Secret controls | Transient entries now support `secret: true`, with masked editing/speech/Braille, copy/cut denial and no values on cancellation. Persistent preference pages reject secrets. Private Xorg/SDK tests cover this prerequisite; a Remote connection UI, audible speech and physical Braille acceptance remain pending. See [the contract](../../cthulhu/docs/tentacle-secret-entries.md). |
| Updates/access | Install/update confirmations disclose grant direction and fresh local approval; disable/failure cancels leases. Updates revoke access before download, including failed preparation. Core consent and I38lock/XTerm policy cancellation now exist; physical-source acceptance and desktop owners remain pending. |
| Secret controls | Transient entries now support `secret: true`, with masked editing/speech/Braille, copy/cut denial and no values on cancellation. Persistent preference pages reject secrets. Private Xorg/SDK tests cover this prerequisite; the source command uses these controls; audible speech and physical Braille acceptance remain pending. See [the contract](../../cthulhu/docs/tentacle-secret-entries.md). |
| Input | `internal/platform/xorg/listener.go` uses XRecord observation. That does not consume desktop keys. A private prototype now demonstrates exclusive capture and helper EOF/watchdog cleanup; production ownership, trusted origin and physical collisions remain unresolved. See [the feasibility record](../../cthulhu/docs/testing/remote-input-feasibility.md). |
| Braille | `internal/braille/client.go` writes text/overlay dots through a helper. Shared viewport/cell-mask feasibility tests now demonstrate translated virtual cells and independent routing without a physical display. Virtual table/cursor policy, helper IPC and raw receiving remain open. See [the evidence](../../cthulhu/docs/testing/remote-braille-feasibility.md). |
@@ -54,28 +54,19 @@ must never mint consent.
table/cursor policy and implement isolated helper integration. These remaining
feasibility gates are not assumptions established by the relay library.
2. The [protocol 1.1 lifecycle foundation](../../cthulhu/docs/tentacle-sessions.md)
now exists through both SDKs and installation. The reader's
[authorization increment](../../cthulhu/docs/tentacle-remote-authorization.md)
adds core consent, policy-bound production managers, I38lock/XTerm cancellation
and separate XI2 sensitive forms. Private tests establish XTEST rejection;
successful physical-source approval is still unverified. Register the
connection command and complete typed desktop operations; no child request
may create approval. The core consent procedure remains unregistered.
3. Use the secret-entry support and [secure storage](storage.md) for host-issued
connection, certificate-review and explicit saved-key actions. The
[library coordinator](lifecycle.md) now connects public SDK lifecycle events
and lease calls to relay cancellation and ordered close. Integrate it with
production local consent and UI; it currently has private fixture callers
only, discards desktop payloads and never retries or resumes automatically.
[Certificate and saved-key form handlers](security-ui.md) now provide explicit
certificate inspection, Copy/Trust once/Cancel and masked Remember/Forget
workflows, but have no production wiring until the reader can verify local
input origin.
The [connection-library workflow](connection-ui.md) now combines these forms
with Connect, explicit saved-key loading, status and epoch-scoped Disconnect.
It cancels pending setup/inspection on lifecycle loss and has a separate SDK
process fixture. Endpoint/role selection, persistent-pin UI, verified local
input origin and all production registration remain pending.
exists through both SDKs and installation. The reader's
[authorization implementation](../../cthulhu/docs/tentacle-remote-authorization.md)
provides core consent, policy-bound production managers, I38lock/XTerm
cancellation and XI2 sensitive forms. The source command is registered and
requests consent for its own process session. Private tests establish XTEST
rejection; successful physical-source approval remains unverified.
3. The [source command](command.md) combines endpoint/role selection,
[secure storage](storage.md), certificate inspection, explicit Trust once and
persistent pins, masked key entry, Remember/Forget and status/Disconnect.
The [coordinator](lifecycle.md) joins reader leases and revocation to relay
cancellation and bounded speech queues. Pending approval expiry now emits
revocation too, cancelling setup before a lease opens. Verify these workflows
with physical local input; synthetic submissions do not establish that gate.
4. Add policy-resolved output observation and remote presentation with origin
ownership, secure-input/lock/handoff exclusion and local status priority.
5. Complete keyboard recovery, explicit clipboard transfer and virtual/raw
@@ -140,8 +131,9 @@ actual NVDA process. Fixture provenance is in [protocol.md](protocol.md).
`make check` also builds and invokes Hello World, Wormhole and Battery Status
through the existing command host. This checks existing SDK/registration behavior
without installing or replacing the active reader. Review the generated diff
before any later submission. Live desktop testing becomes meaningful only after
reader integration; the current source library provides no command to launch.
before any later submission. The source command can exercise connection and
consent UI; live desktop service testing still requires the pending reader
output/input owners.
The first repository check exposed a pre-existing dependency metadata gap: the
adjacent SDK imports reader configuration, which depends on go-toml v2.4.3.