feat: sign, attest, and verify release artifacts#9
Open
thedancingdeveloper wants to merge 3 commits into
Open
Conversation
…l minisign (ZerosAndOnesLLC#542) - Commit the minisign public key and compile it into the updater via include_str!, so appliances upgraded from builds that never shipped /usr/local/etc/aifw/update-signing.pub still enforce signatures; the on-disk copy is provisioned/refreshed at install time for operators. - Auto-install minisign via the pkg sudo helper when verification runs on an appliance whose running updater predates the manifest entry; a missing/unrunnable minisign now surfaces as VerifyUnavailable instead of a misleading Download error. - release.sh (the local publish gate) signs every *.sha256 with ~/.minisign/aifw-update.key, verifies against the committed public key, refuses to publish unsigned, and uploads .minisig sidecars plus update-signing.pub. - CI: pipe MINISIGN_PASSWORD to minisign stdin (it never read the env var); verify signatures against the committed key in both the sign step and the release job; drop vars.MINISIGN_PUBLIC_KEY provisioning. - SBOM scans the source tree (Cargo.lock, aifw-ui/package-lock.json) instead of xz blobs syft cannot open; SBOM added to provenance subjects. - Remove stale uncompressed-image .sha256 files after xz so unverifiable checksums are never signed or published. - Document key management, rotation, and compromise response in freebsd/RELEASE-SIGNING.md.
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.
Summary
Verification
cargo fmt --all -- --checkcargo clippy -p aifw-core -p aifw-api --all-targets -- -D warningscargo test -p aifw-core -p aifw-apinpm run lintnpm run buildAddresses AusAgentSmith ticket ZerosAndOnesLLC#542.