Prepare Remote 0.1.2 with Orca key handling and remembered connections
Apply the four-patch Remote series: accept Orca-style Shift and unflagged extended keys, add browser/media mappings, review untrusted certificate fingerprints during explicit Connect, and retain recent successful connections in private storage. Report history-write failures without ending live connections, add failure/storage/trust regressions, and document the required reader revision and remaining live accessibility acceptance. Validated with make check, the complete Remote race suite, private Xorg capture and key-helper cleanup checks, and publisher tests. Linux amd64/arm64 archives reproduce byte-for-byte. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f5dc3bd8f5
commit
dcdbe2b603
19 files changed
+846
-71
No files matched your search
+13
-3
@@ -24,9 +24,19 @@ forgotten. `forgetKey` removes and syncs the credential file and is idempotent.
|
||||
Removal is not a promise of secure disk erasure. Saving ordinary settings never
|
||||
saves a key, and there is no saved-key flag that silently triggers a connection.
|
||||
|
||||
`recent.toml` separately holds up to ten successfully joined host, port, mode and
|
||||
key entries, newest first, with any explicitly remembered certificate pin. It is
|
||||
written only when Remember this host and key is checked for that attempt. The
|
||||
connection form offers this option checked by default; uncheck it before Connect
|
||||
to avoid adding a new key to history. An empty Key can reuse the entry matching
|
||||
the selected endpoint and mode. Labels and presentation never include its key.
|
||||
Forget recent connections removes this file, independently of the explicit
|
||||
saved-key slot. No entry restores consent or starts a connection.
|
||||
|
||||
Keys use the transport's existing validation: nonempty valid UTF-8, at most 512
|
||||
bytes, without C0 controls or DEL. The transport and store share that validator.
|
||||
Settings and credential files are each bounded to 8 KiB on read. Parser errors
|
||||
Settings and the saved-key slot are each bounded to 8 KiB on read; recent
|
||||
connections are bounded to 16 KiB. Parser errors
|
||||
are replaced with a generic error, without the file path, parser excerpt or key.
|
||||
Ordinary settings can therefore be inspected separately from credential content.
|
||||
|
||||
@@ -50,12 +60,12 @@ a nonblocking flock excludes cooperating processes. Temporary files are removed
|
||||
after normal failures. Abrupt process death can leave an owner-only `.pending-*`
|
||||
file; it is never read as live settings. A directory-sync failure after rename
|
||||
can leave the new version present despite an error, so the UI must report the
|
||||
failure and re-read before claiming which value was saved. The two files are
|
||||
failure and re-read before claiming which value was saved. These files are
|
||||
independent atomic records, not a cross-file transaction.
|
||||
|
||||
The key is plaintext protected by filesystem ownership and permissions. This is
|
||||
not encryption, an OS keyring, or protection against malicious same-user code.
|
||||
No runtime data is added to release archives; Remote still has no package entry.
|
||||
No runtime data is added to release archives.
|
||||
|
||||
Tests use disposable directories and synthetic keys. They cover restart, exact
|
||||
endpoint scoping, atomic inode replacement, permission modes, temporary-file
|
||||
|
||||
Reference in new issue
Block a user