feat(windows): add a security-first Windows 11 Preview port - #3
Closed
songconmaisaix31-design wants to merge 24 commits into
Closed
feat(windows): add a security-first Windows 11 Preview port#3songconmaisaix31-design wants to merge 24 commits into
songconmaisaix31-design wants to merge 24 commits into
Conversation
Owner
|
感谢你的贡献,安全优先的设计(Job Objects、签名回执、CREATE_SUSPENDED)和文档工作量都很可观。 说明一下维护立场:总控台由原作者个人维护,功能迭代以个人日常使用的实际需求为准,暂不承诺审阅或合入社区 PR(详见 README「维护说明」)。 你的移植已收录到 README 的「社区衍生版本」推荐列表。欢迎在你的仓库继续维护这个版本,并在 Discussions 提交说明或更新,我会同步更新推荐列表。 |
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
commandSpec, schema v2 migration, and explicit config import supportCREATE_SUSPENDED, Job Objects, a private Named Pipe, signed receipts, exact runtime identity, and generation CASWindows safety model
Validation
5daddece8a06d1fdd382d1814e58be7b777ceae47c665cf273ad35c298b8595398bb5b7fbc8193aeCurrent scope and limitations
This is a Windows 11 x64 Preview/Alpha engineering candidate, not a public Beta. Source mode targets Python 3.12; the packaged artifact is an unsigned development build. Windows 10, an independent clean machine without Python, Defender/SmartScreen acceptance, native picker and Windows Notification Center delivery, brand review, and signing/release decisions remain open gates.
Upstream context
Related to #1.
An existing Windows implementation is already under review in #2. This Draft PR offers a security-first alternative with a stricter process-ownership and fail-closed lifecycle model so maintainers can compare the tradeoffs. It is not intended to close #1 or supersede #2 without maintainer review.
Compatibility
The macOS standard-library runtime and existing user data remain supported. Windows-only runtime/build dependencies are isolated in dedicated requirement files, and schema v2 is additive: the legacy
commandfield remains available while Windows execution requires a validated structuredcommandSpec.