Repository navigation
release: v1.7.2 — artifact downloads, SSH tunnel fix + connection verification, dock icon grid - #92
Merged
Merged
Conversation
…e direct URLs, verify connections end-to-end Connection fixes: - SSH mode loaded the configured Target URL directly, bypassing the ssh -L forward entirely (netstat showed a direct remote connection while the tunnel sat unused). AppDelegate.effectiveTargetURL() now resolves what browser windows load: in SSH mode always the tunnel entrance http://127.0.0.1:<local port>, in direct mode the Target URL. Applied to launch/reconnect, Cmd+N/Cmd+T, and Open in Browser. - Direct mode rejected every non-localhost URL: the URLSession-based preflight, Test Connection, and health ping are subject to ATS (NSAllowsArbitraryLoads=false), which rejects plain-http to non-loopback hosts with -1022 before the (ATS-exempt) WKWebView gets a chance. All three now use ReachabilityProbe, a hand-rolled HTTP GET of hermes' /health over Network.framework (TLS for https), which ATS does not apply to. Connection verification: - The probe is tri-state — healthy (2xx + "status":"ok" body), reachable-but-unverified (port answers; e.g. reverse proxy up, hermes down), unreachable — surfaced in Test Connection and the direct-mode title dot (● / ◐ / ○). Dock badge only on unreachable. - Test Connection in SSH mode runs a real non-interactive login (ssh -o BatchMode=yes user@host exit), distinguishing "no SSH" from "auth refused" (→ ssh-copy-id hint). After auth it verifies hermes end-to-end: through the live tunnel when every forward-shaping setting matches what it was built from, otherwise through a temporary ssh -N -L created from the field settings and torn down after the probe. Local port collisions report "port busy" (bind pre-check, so a stray listener can't masquerade as the tunnel); when our own live tunnel holds the port, the test detours through an ephemeral port. Editing any field or switching modes clears a stale test verdict. Preferences UX: - Mode segment is now "Tunnel: None | SSH" (persisted values unchanged); SSH sections dim/disable instead of hiding, so the fixed-frame layout keeps its shape. In SSH mode the Target URL row becomes a read-only derived tunnel-entrance label. - Saving a plain-http Target URL to a non-loopback host asks a one-time per-host acknowledgment that credentials and session data cross the network unencrypted; loopback is exempt. Hardening: - SSH username/host fields reject option smuggling (leading "-", whitespace) at Save, Test Connection, and inside testAuth / testForward; BatchMode prevents invisible password prompts and a watchdog bounds stalled handshakes. - The health probe builds its request from the percent-encoded URL path so encoded CR/LF cannot reshape the hand-rolled HTTP request. 60 unit tests (mirror-style, matching the existing suite) cover the effective-URL rule, probe endpoint/path derivation, health-response classification, auth-attempt classification, live-tunnel match rule, ssh identifier validation, and the plaintext-warning rule.
The master artwork was full-bleed on its 2048x2048 canvas, so the Dock rendered it visibly larger than neighbouring icons. Artwork now spans 824/1024 of the canvas (1648px) centered on transparent margin — the standard macOS icon grid. build.sh and CI both consume this file, so local and release builds pick up the corrected icon with no pipeline changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
#90) shouldPerformDownload was honored before the scheme guards, so a download-attributed file:// link would have received .download policy instead of falling through to the guard that cancels all file:// navigation. The fast-path now skips file:// URLs; blob:/data: remain eligible since they carry page-authored content and JS-generated exports rely on them. Mirror test updated + new coverage. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…retro v1.7.1 PR #90 shipped without a CHANGELOG entry (repo rule: entry required before tagging), and v1.7.1 (icon refresh #84) was tagged without one. Adds both, plus entries for the dock-icon grid fix and the file:// download-fast-path exclusion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v1.7.2 — staged release
Rolls up the two reviewed-and-approved external contributions plus small fixes found during review. Full details in
CHANGELOG.md([v1.7.2]section).Contents
ReachabilityProbe); tri-state/healthverification (● / ◐ / ○); end-to-end SSH Test Connection; Preferences tunnel selector; plaintext-HTTP acknowledgment; ssh option-smuggling validation.WKDownloadrouting ahead of the/api/*guard + action-initiated download delegate).file://URLs (falls through to the scheme guard that cancels allfile://navigation);blob:/data:stay eligible.v1.7.1entry (that release was tagged without one).Verification (local, macOS)
swift build -c release— clean, 0 warningsswift test— 62/62 passedbash build.sh— packaged, ad-hoc signed;NSAppTransportSecurity/SUPublicEDKey/SUFeedURLverified in the built Info.plistReachabilityProbehealth classifier validated against a live hermes/health(200 +"status": "ok")/Applications, connected to the local server (request burst on relaunch), no crasha198aef), Strengthen the connection mechanism: fix tunnel bypass, support remote direct URLs, verify connections end-to-end #91 (9146c4d)Merge notes
Merge with a merge commit (not squash) — the branch carries #90's and #91's head commits, so a regular merge marks both contributor PRs as merged and preserves attribution.
After merge: tag
v1.7.2→ CI builds/notarizes the DMG, creates the GitHub Release, and commits the appcast entry.🤖 Generated with Claude Code