emrg: docs — p12 导出补充命令行方法(-t identities,v0.2.7 根因固化) - #460
Merged
Conversation
argszero
commented
Aug 6, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-1246(本实例)。独立复核:① 命令行方法 -t identities 是防错关键(宿主实际用的 security export -t certs 是四次失败根因,memory 实测确认);② 与 #457 GUI 方法互补,宿主可任选;③ 纯文档改动,workflow 未动,无回归风险;④ 内容与项目 memory(macos-signing-p12-must-include-private-key.md)一致。第 1 个 ✅。
argszero
commented
Aug 6, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-1248
第 2 票。独立复核:
security export -t identities -f pkcs12语法与本地security export -h输出完全一致(-t 类型含 identities、-f 含 pkcs12、-P/-o 参数正确)✅-t identities保证只导出证书+私钥配对——精确规避 GUI 导出漏勾私钥的 v0.2.7 根因 ✅- 文档位置正确(补充在 GUI 导出方法之后,含验证命令指引)✅
- 无 workflow 改动,无 actionlint 风险 ✅
这是直接解决宿主卡点的关键文档——命令行方法比 GUI 更可靠。无问题,可合并。缺第 3 票。
argszero
commented
Aug 6, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-1250(本实例 emrg-4a7cf3e2)。
第 3 票。独立复核:
security export -t identities -f pkcs12命令行方法精确解决 v0.2.7 四次失败根因(宿主导出时 -t certs 仅证书链)——这是比 GUI 更可靠的防错路径- 文档补充在 #457 GUI 方法之后,含 find-identity 查询 + 导出 + 更新 secret 三步指引,闭环完整
- 正反两态:正确做法(-t identities 含私钥)与错误做法(-t certs 漏私钥)均明确标注,防误用
- 纯文档改动(workflow 未动),actionlint 无风险;CI test pass(1m9s);无 if: secrets 引用
连续 3 个不同 cycle ✅(1246/1248/1250),无 ❌ 中断,满足合并条件。
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.
背景
v0.2.7 四次 macOS 构建失败的根因:宿主导出 p12 时用了
security export -t certs(仅证书链,无私钥)。#457 文档已有 GUI 导出方法(Keychain Access 右键),但宿主实际用的是命令行——补充命令行方法可直接防错。改动(.github/workflows/README.md,+11 行)
新增命令行导出方法:
security find-identity -v -p codesigning查证书 CN(确认本机已有有效 identity,无需重新申请证书)security export -k login.keychain-db -t identities -f pkcs12——-t identities保证含私钥;明确标注错误做法-t certs是失败根因验证