Skip to content

Refuse candidate sets without gpgv and cover foreign signers in the key file - #562

Merged
maralcbr merged 1 commit into
quattro-upstreamfrom
mac/42-gpgv-followup
Sep 25, 2026
Merged

maralcbr merged 1 commit into
quattro-upstreamfrom
mac/42-gpgv-followup

Conversation

@maralcbr

Copy link
Copy Markdown
Member

Follow-up to #559 from its security review of the gpgv change.

  • Preflight refuses a candidate-set target when gpgv is missing, with a clear reason. Before, gpgv's exit 127 showed up as "signing.json is not signed by…".
  • Tests now reach the per-signature fingerprint compare, which the existing key-mismatch cases never got past. If the key file also carries another key, a receipt signed by that key is refused, and so is a single package signed by it. A set signed by the pinned key's signing subkey verifies. Without gpgv, preflight refuses and changes nothing.

Tested: packages/omarchy-mac/boot/test/mac-migrate-test.sh passes 28/28 on an Arch host and in CI's Arch image as the unprivileged tester user.

Second review: the security review of #559 found the gpgv change safe and asked for exactly these two items.

@maralcbr
maralcbr merged commit a6a56f9 into quattro-upstream Sep 25, 2026
5 checks passed
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