Skip to content

ci(aur): bundle source-signing public PGP key - #409

Merged
pando85 merged 2 commits into
masterfrom
ci/aur-bundle-source-signing-key
Nov 13, 2026
Merged

pando85 merged 2 commits into
masterfrom
ci/aur-bundle-source-signing-key

Conversation

@pando85

@pando85 pando85 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bundle the upstream release-signing public PGP key into the source-based AUR package at keys/pgp/CD1DB60B2C8465FD50028EF6D381D73787B45B3E.asc, as recommended by Arch RFC 0011.
  • Accept either a tracked public key in the upstream repository or an optional GitHub Actions secret holding the ASCII-armored public key.
  • Validate the key's primary fingerprint against the existing validpgpkeys value before publishing; report a clear error if no key is supplied or it does not match.
  • Apply this only to timer-rs, which checks signed Git tags, not timer-rs-bin. Leave the binary package's assets input empty so github-actions-deploy-aur does not attempt to copy missing files.

Action required before merging

Provide one of the following (not both):

Option A — commit the public key to this PR's branch at:

.ci/keys/pgp/CD1DB60B2C8465FD50028EF6D381D73787B45B3E.asc

Generate locally, after independently verifying the key belongs to the upstream release signer:

mkdir -p .ci/keys/pgp
gpg --export --armor D381D73787B45B3E > .ci/keys/pgp/CD1DB60B2C8465FD50028EF6D381D73787B45B3E.asc
gpg --show-keys --with-fingerprint .ci/keys/pgp/*.asc

Option B — add an Actions secret named AUR_PGP_PUBLIC_KEY to this GitHub repository, containing the complete ASCII-armored public key. Do not provide a private signing key. The committed file, if present, takes precedence.

The AUR publishing workflow is triggered by a successful Rust release workflow, so an end-to-end AUR publish cannot be confirmed until that workflow runs with a key configured. Until then this PR remains draft.

Scope

No changes to the PKGBUILD template or trusted fingerprint; only the AUR publishing workflow is updated.

@pando85
pando85 force-pushed the ci/aur-bundle-source-signing-key branch from 2eba3dc to 2b9aab6 Compare November 13, 2026 20:20
@pando85
pando85 marked this pull request as ready for review November 13, 2026 20:21
@pando85
pando85 enabled auto-merge (rebase) November 13, 2026 20:21
@pando85
pando85 merged commit a5daf4b into master Nov 13, 2026
5 checks passed
@pando85
pando85 deleted the ci/aur-bundle-source-signing-key branch November 13, 2026 20:22
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