Repository navigation
macOS:Keychain 加密与用户设置目录(阶段 10) - #94
Queued
DeathofBrain wants to merge 35 commits into
Queued
DeathofBrain wants to merge 35 commits into
DeathofBrain wants to merge 35 commits into
Conversation
Preserve upstream disk budgets and rotating logcat capture while routing new common native calls through the existing host facade. Keep Windows implementations, CI, and upstream test fixtures unchanged.
…cos-6-review # Conflicts: # internal/components/fetch.go
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.
macOS 的更新设置可保存到当前用户的 Application Support/ModAVD;MirrorChyan CDK 由 Keychain 中按用途隔离的随机密钥进行 AES-256-GCM 加密。锁定、未授权或密钥损坏时明确报错,Keychain 调用不弹认证窗口。组件下载源和更新设置共用中立的用户目录入口,Windows 保留 LOCALAPPDATA 与 DPAPI。
本阶段独立提交:33afbf6d3d661d2648b28ac70d4ba9630f2a3095。依赖 #72、#92;前置合并前相对 main 的完整 diff 包含它们。本 PR 为阶段 10,保持 Draft;macOS 更新安装事务由阶段 11 单独提交。
验证:Apple M4 / macOS 26.6.2 (25G83) / Go 1.26.5。现有全量 test/build/vet、Windows/Linux 交叉构建、Darwin 无 cgo 相关测试通过。仓外随机临时 Keychain service 验证真实回环、跨进程、随机 nonce、篡改拒绝、用途隔离、坏密钥与并发;条目已清理。设置读写使用隔离 fixture,没有读取生产 CDK。无 cgo 构建继续返回 unsupported。
不改 CI、构建脚本或依赖,不加入测试脚本、结果或日志。仅同步原有 settings unsupported 测试的平台适用范围,保留函数和断言。详细结果记录在 ModAVD/ModAVD#68。
本批统一验证记录:ModAVD/ModAVD#68 (comment)