Skip to content

chore: never let publisher signing seeds into git - #9

Draft
lr00rl wants to merge 1 commit into
mainfrom
chore/gitignore-signing-seeds
Draft

chore: never let publisher signing seeds into git#9
lr00rl wants to merge 1 commit into
mainfrom
chore/gitignore-signing-seeds

Conversation

@lr00rl

@lr00rl lr00rl commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This is the repo where cmd/pluginsign actually runs — it reads a raw 32-byte Ed25519 publisher seed from a file path (-seed seed.bin) — and .gitignore excluded none of *.key, *.pem, seed*, *.bin.

Nothing is committed today: I scanned every tracked file and the full history (--diff-filter=A across all refs) in all seven Lattice repos and found no key material. This is preventive — the only thing between a publisher seed and main was one git add -A.

A leaked publisher seed lets an attacker sign a plugin manifest the server loads as trusted, so the blast radius is the whole plugin trust model. Companion PRs add the same guard to the six plugin/index repos.

Found during the 2026-07-14 plugin-boundary architecture review (§4.8).

https://claude.ai/code/session_01FzYExyy6G7Cb7QpXoUEY78

cmd/pluginsign reads a raw 32-byte Ed25519 seed from a file path. Nothing is
committed today, but the only thing between a publisher seed and main was one
`git add -A` — so ignore key material outright rather than relying on care.

A leaked publisher seed signs manifests the server loads as trusted, so the
blast radius is the whole plugin trust model.
@lr00rl

lr00rl commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

[ack] — zeus review, Olympus TASK-0007 seeds batch (2026-07-26): preventive guard verified — I independently re-scanned all-refs history (--diff-filter=A) across all seven repos: no key material ever committed. Identical pattern set across the family; *.bin breadth is safe here (no committed build outputs use it). Reminder that gitignore is advisory — the seed's real home stays outside any repo. Merge-ready; lands with the integrator pass (six repos await their integration branch — operator queue). Batch verdict letter: lattice-olympus messages, 20260726Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant