Repository navigation
docs: 签名钥匙已登记,unknown_key 被追认成 valid - #107
Merged
Merged
Conversation
2026-11-26 09:12 走通 device flow:POST /user/ssh_signing_keys 返回 201,id 1367826, 接口读回的 SHA256:CPYCyTTQ… 与本机 git verify-commit 报的一致。 关键事实:登记之后历史提交不需要重写 —— d96b448 / 1fc890d / eac5e41 / 5a4d541 / 4ff9ccb / 6e66768 立刻全部 verified=true、reason=valid,因为 verification 是 GitHub 按当前钥匙表现算的,不是提交时的快照。unknown_key 是「查不到」,不是「签名坏了」, 补登记可以追认;剩下 94 个 unsigned 是签名前的旧提交,永远不变。
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.
POST /user/ssh_signing_keys→ 201(id 1367826),接口读回的SHA256:CPYCyTTQ…与本机git verify-commit一致。写清一条容易被误解的事实:登记后历史提交不需要重写。
d96b448/1fc890d/eac5e41/5a4d541/4ff9ccb/6e66768立刻全部verified=true, reason=valid—— verification 是 GitHub 按当前钥匙表现算的,不是提交时的快照。unknown_key是「查不到」,补登记可以追认;剩下 94 个unsigned是签名前的旧提交,永远不变。