Add Remote connection command and typed speech transport
This commit is contained in:
1 parent
0c74038c49
commit
703d44029c
20 files changed
+1053
-49
No files matched your search
+24
-13
@@ -2,11 +2,16 @@
|
||||
|
||||
Remote will connect Cthulhu to an NVDA Remote protocol-v2 relay, as either a
|
||||
controller or a controlled computer. The first implementation increment is a
|
||||
tested Go relay library in `src/`. It is not yet a runnable or installable
|
||||
Tentacle. There is no manifest, catalog entry, production connection UI or desktop access.
|
||||
tested Go relay library in `src/`. A subsequent increment now provides a
|
||||
source-built command with relay/role selection, reader-owned consent and connection
|
||||
controls. It has no manifest, catalog entry or desktop access and is not installable.
|
||||
See [the source command and physical-input checks](command.md).
|
||||
|
||||
Implemented:
|
||||
|
||||
- Typed speech conversion and matching reader IPC validators/mailbox, with
|
||||
private Go/Python host coverage. This is transport only; production speech
|
||||
delivery/export is still pending. See [speech.md](speech.md).
|
||||
- Bounded newline JSON framing, duplicate-key and collection validation, and
|
||||
typed speech, keyboard, membership, clipboard and Braille decoding.
|
||||
- TLS with normal certificate/hostname validation or an already-approved,
|
||||
@@ -28,7 +33,7 @@ Implemented:
|
||||
A single library connection workflow now combines them with explicit saved-key
|
||||
loading, Connect and status/Disconnect. Setup cancellation follows pending
|
||||
approval lifetime; stale forms cannot disconnect a newer epoch. These have
|
||||
private SDK-process coverage, but no production connection registration.
|
||||
private SDK-process coverage and source-command registration.
|
||||
The reader authorization prerequisite is described below. See [security-ui.md](security-ui.md) and
|
||||
[connection-ui.md](connection-ui.md).
|
||||
|
||||
@@ -36,7 +41,7 @@ The adjacent reader now also supports secret entries in transient Tentacle forms
|
||||
masked speech/Braille editing, copy/cut denial, explicit paste and cancellation
|
||||
without returning values. Persistent preference pages reject secret entries.
|
||||
This prerequisite is covered by both SDKs and a private Xorg form harness; it
|
||||
does not yet provide Remote's production connection UI. Credential storage and
|
||||
does not by itself provide Remote's connection UI. Credential storage and
|
||||
the combined connection workflow are supplied by the library described above.
|
||||
|
||||
A subsequent [private Xorg feasibility increment](../../cthulhu/docs/testing/remote-input-feasibility.md)
|
||||
@@ -60,10 +65,16 @@ and GTK tests cover this foundation. The library coordinator now consumes these
|
||||
leases through the public Go SDK, with private synthetic-host/TLS coverage.
|
||||
A subsequent [reader authorization increment](../../cthulhu/docs/tentacle-remote-authorization.md)
|
||||
adds core consent, lock/handoff cancellation and local-only sensitive forms.
|
||||
Injected approval is rejected in private XI2 tests; physical-keyboard approval and
|
||||
connection-command registration remain unverified/unimplemented respectively.
|
||||
Injected approval is rejected in private XI2 tests; physical-keyboard approval
|
||||
remains unverified. The source command now requests core consent through typed
|
||||
interaction requests. Core revokes the original epoch on interaction completion;
|
||||
bounded cancellation also stops pre-lease inspection on lock/handoff.
|
||||
There is no reader desktop service yet.
|
||||
|
||||
Explicit Trust and remember/Forget pin actions now manage endpoint-bound saved
|
||||
certificate trust. `make build` builds `remote/bin/remote`; `make check` also
|
||||
checks initial command-host output and real-host/private-relay integration.
|
||||
|
||||
This implements relay data handling, storage, connection lifecycle and library
|
||||
forms. Parsing a key, speech fragment or
|
||||
Braille gesture does not execute it. Network readiness is not consent. The
|
||||
@@ -87,14 +98,14 @@ the desktop display or a clipboard. The coordinator also uses the actual Go SDK
|
||||
over private pipes against a synthetic lifecycle host. A separate workflow test
|
||||
process exercises actual SDK form/lease IPC, storage and private relay TLS together.
|
||||
Fixtures are independently written examples
|
||||
based on source review, **not captured NVDA sessions**. There is no live desktop
|
||||
test to run for this increment.
|
||||
based on source review, **not captured NVDA sessions**. The [source-command
|
||||
procedure](command.md) describes pending physical-input acceptance checks;
|
||||
private fixtures do not establish them.
|
||||
|
||||
Pending: actual NVDA/add-on/Orca interoperability, physical-source approval and
|
||||
connection-command integration, reader desktop services, speech delivery/export, exclusive keyboard capture,
|
||||
Pending: actual NVDA/add-on/Orca interoperability, physical-source approval,
|
||||
reader desktop services, speech delivery/export, exclusive keyboard capture,
|
||||
injection provenance and reader-death recovery, clipboard permission,
|
||||
endpoint/role selection and production connection UI integration, persistent-pin
|
||||
management, virtual Braille integration, physical displays and packaging. The
|
||||
virtual Braille integration, audible masking, physical displays and packaging. The
|
||||
full remote-control release must not be advertised until those gates pass.
|
||||
|
||||
## Relay trust
|
||||
@@ -102,7 +113,7 @@ full remote-control release must not be advertised until those gates pass.
|
||||
TLS protects the connection to the relay. NVDA Remote v2 is not end-to-end
|
||||
encrypted: the relay can see the channel key and session contents. Relay origin
|
||||
IDs do not authenticate human identities. Rejecting extra peers cannot undo data
|
||||
the relay already sent to them. The future UI must explain these properties
|
||||
the relay already sent to them. The reader's consent UI explains these properties
|
||||
before issuing consent.
|
||||
|
||||
The code is an independent implementation licensed under GPL-3.0-or-later;
|
||||
|
||||
Reference in new issue
Block a user