Repository navigation
Fix native HNS HTTPS redirects and DNSSEC-validated TLSA recovery - #28
Merged
Merged
Conversation
shadstoneofficial
marked this pull request as ready for review
October 4, 2026 12:53
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.
Summary
Fixes the blank / ERR_FAILED native HTTP-to-HTTPS navigation reported for handshake.mercenary. The upgraded website and matching TLSA are live; no production DNS or website changes are included.
Security limitation
Electron caches hostname-only certificate verification. A process-wide immutable SHA-256 fingerprint lock prevents different port/address certificates from becoming interchangeable. Legitimate certificate rotation requires fully quitting/reopening the browser; closing a Mac window or clearing resolver cache does not reset the lock. Distinct certificates on simultaneous ports of the same HNS hostname fail closed.
Initial verification (before provider/UI follow-up)
Live acceptance blocker
A single cold native live navigation on 2026-10-04 at 03:20 UTC could resolve the A record, but all default TLSA providers failed: HNS DoH HTTP 403, Web3DNS invalid-service-name HTTP 400, Shakestation timeout. The patched browser correctly showed Native HTTPS temporarily unavailable; the updated live HTTPS site was NOT rendered or accepted. Two DNS-only regional endpoint checks also failed. No production DNS, defaults, user settings or certificate trust were changed during that historical live acceptance run. The later source-only defaults migration is documented below.
Keep this PR draft: qualify a reliable authenticated DNSSEC-validating resolver and rerun cold live acceptance before merge/build. Never bypass DANE authentication to pass. Exact source/runtime evidence and safe-failure outcomes are recorded in docs/hns-https-recovery-2026-10-04.md.
Known upstream limitation
Electron 42.11.3 native reload silently fails on completed POST pages. Reproduced on localhost; the upstream implementation documents the missing repost-confirmation path. This is separate from passing same-host POST submissions/307/308 redirects. No automatic form replay or global confirmation bypass is added. Publication needs an explicit decision on this remaining limitation.
Release gate
Draft for review. Do not publish older v0.1.25 assets as this fix. No release, app installation, system trust change or /Applications replacement performed. Signed-package acceptance is required before a new patch release. Full diagnosis, behavior matrix, and handoff are in docs/hns-https-recovery-2026-10-04.md.
Resolver provider and visibility follow-up — 85656f5
Live Web3DNS root-path probes at 03:59 UTC returned correct A/TLSA records but AD=false. The developer contact route and DNSSEC/AD contract remain unconfirmed; the inquiry in docs/resolver-provider-status.md is explicitly NOT SENT. Do not weaken authentication, merge, package, publish or install to bypass this gate. This source follow-up does not publish a release or change the installed app.