Skip to content

feat: SSH tunnels and user-initiated updates - #29

Merged
ByteExceptionM merged 4 commits into
mainfrom
develop
Aug 10, 2026
Merged

feat: SSH tunnels and user-initiated updates#29
ByteExceptionM merged 4 commits into
mainfrom
develop

Conversation

@ByteExceptionM

Copy link
Copy Markdown
Owner

Update check on startup, download and install only on click. Adds a progress toast with a severity indicator.

Opens an SSH session with a loopback SOCKS5 proxy in front of it and hands
that to the driver, so topology discovery reaches every replica-set member
by the names the SSH server resolves. Key, password and agent auth; host
keys checked against known_hosts, then pinned on first use.
Comment thread src/main/lib/socks5.ts Fixed
Comment thread src/main/lib/socks5.ts Fixed
timingSafeEqual on the raw bytes with an explicit length check, instead of
comparing SHA-256 digests to sidestep that check. The digests tripped
CodeQL's insufficient-password-hash rule, which looks for a slow KDF; the
credentials are per-tunnel randomBytes that are never stored, so there is
nothing to brute-force and nothing a KDF would buy.
@ByteExceptionM ByteExceptionM changed the title feat: user-initiated update flow with progress toast feat: SSH tunnels and user-initiated updates Aug 10, 2026
@ByteExceptionM
ByteExceptionM merged commit 36adfa6 into main Aug 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants