mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-27 00:02:36 +00:00
The daemon socket now conveys NativeSshSpec cleartext secrets, but the socket file was left at umask-default perms, so a co-local user could connect. On Unix, chmod the socket file to 0600 (connecting requires write permission on the node, so this is the access boundary) and chmod the config dir to 0700 — but only when the socket lives in the config dir tty7 owns, never the overlong-path fallback under a shared $XDG_RUNTIME_DIR / temp dir. Best-effort: log at warn and continue on failure. Windows loopback+token path is untouched (it already authenticates).