Documentation
¶
Overview ¶
Package trustkeys exposes the public keys embedded in the gtb binary for self-update signature verification (Phase 2 of the remote-update-checksum-verification spec).
To embed a release public key, drop its ASCII-armored form into internal/trustkeys/keys/<name>.asc. Every *.asc file in that directory is embedded at build time and surfaced to the SelfUpdater via props.Tool.Signing.EmbeddedKeys (wired in internal/cmd/root).
The directory ships empty (only a .gitkeep): with no keys present Keys returns nil, so signature verification stays dormant (setup.DefaultRequireSignature is false) until a real key is added and the rollout flips the default. See docs/development/phase2-signing-prep.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.