Repository navigation
Conversation
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.
English Version
Summary
Fixes the
404returned for/.well-known/dsh-desktop-ca.crtduring LAN HTTPS trust bootstrap.Previously, the HTTPS ingress proxied this request to the loopback Host. The Host does not expose the CA download route, so the request completed the TLS handshake but still returned
404.Changes
Sec-Fetch-Site: cross-sitechecks.GET; supportHEADwith identical headers and no response body.405,Allow: GET, HEAD, an empty body, andContent-Length: 0.caCertificate; do not read or expose CA private material, sealed state, or leaf certificate chains.Impact
dsh-desktop-nextanddsh-plugin-desktop-beta.0.2.2-rc.1; their shared sources remain mirrored and are covered by the variant-layout check.Verification
corepack yarn check:layoutcorepack yarn typecheckcorepack yarn testcorepack yarn checkcorepack yarn check:nextprocess.readyPackaging Note
corepack yarn workspace dsh-desktop-next dist:mac-smokewas run on macOS Apple Silicon.The arm64 and Rosetta x64 primary-runtime smokes, frontend build, payload materialization, and sealing passed. The final DMG was not produced because Electron Builder requires Xcode 26+
actoolat the macOS icon step. Signing and notarization were not run in this environment.Release Notes
The LAN HTTPS trust-bootstrap CA download now returns the correct CA PEM instead of
404.中文版本
变更摘要
修复局域网 HTTPS 信任引导中
/.well-known/dsh-desktop-ca.crt返回404的问题。此前 HTTPS ingress 会将该请求代理到 loopback Host。Host 未注册 CA 下载路由,因此请求虽然完成 TLS 握手,最终仍返回
404。变更内容
Sec-Fetch-Site: cross-site防护,并在防护通过后仅对精确的 CA 下载路径本地响应。GET返回公开 CA PEM;HEAD返回相同响应头但不返回正文。405、Allow: GET, HEAD、空正文和Content-Length: 0。caCertificate;不会读取或暴露 CA 私钥、sealed state 或 leaf 证书链。影响范围
dsh-desktop-next和dsh-plugin-desktop-beta的 LAN HTTPS ingress/runtime 与 ingress tests。0.2.2-rc.1runtime;共享源保持镜像一致,并通过变体布局检查验证。验证
corepack yarn check:layoutcorepack yarn typecheckcorepack yarn testcorepack yarn checkcorepack yarn check:nextprocess.ready打包说明
已在 macOS Apple Silicon 上执行:
arm64 和 Rosetta x64 primary runtime smoke、前端构建、payload materialization 与 sealing 均通过。最终 DMG 未生成:Electron Builder 在 macOS 图标步骤要求 Xcode 26+ 的 actool,当前机器工具链不满足。签名与 notarization 未在当前环境执行。
发布说明
局域网 HTTPS 信任引导中的 CA 下载地址现在会返回正确的 CA PEM,不再返回 404。