Commit c71cc8a
fix(terraphim_update): document production Ed25519 key provenance, remove stale TODO Refs #2520
The embedded key 1uLjooBMO+HlpKeiD16WOtT3COWeC8J/o2ERmDiEMc4= is the confirmed
production release-signing key, but the function carried a stale TODO suggesting
otherwise. Replace the TODO with a complete provenance + rotation docstring.
Changes (single file, +30/-4, docstring + comment only — no behaviour change):
- Removed the 'TODO: Replace with actual Terraphim AI public key' comment
- Documented full key provenance inline: generation date/script, 1Password vault
TerraphimPlatform + item ID jbhgblc7m2pluxe6ahqdfr5b6a, and the SHA-256
fingerprint 1c78db3c...3232b631a (verified = SHA-256 of the 32 raw key bytes)
- Inlined the full key-rotation procedure (resolves the dangling keys/README.md
reference flagged in the prior NO-GO of PR #2523; an in-repo keys/README.md
would be silently dropped by root .gitignore:57 'keys/', so documenting inline
is the only self-contained option)
- The runtime placeholder-key guard (verify_archive_signature rejects any key
starting with 'TODO:') is preserved unchanged
This is a clean re-PR of the previously-approved core fix. Prior PR #2523 was
NO-GO'd solely for artefact contamination (51 unrelated files); this branch is
cut from pristine origin/main and carries only the signature.rs change.
Verification:
- cargo check -p terraphim_update -> clean
- cargo clippy -p terraphim_update --all-targets -D warnings -> exit 0
- cargo fmt -p terraphim_update --check -> exit 0
- cargo test -p terraphim_update -> 28 passed, 0 failed
Refs #2520
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 55e959a commit c71cc8a
1 file changed
Lines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
26 | 54 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 55 | + | |
| 56 | + | |
31 | 57 | | |
32 | 58 | | |
33 | 59 | | |
| |||
0 commit comments