feat(vps): forgejo gpg merge-signing #14
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/nix!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/forgejo-signing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds Forgejo merge-signing via Barrett's GPG key (
A6C96C9349D2FC81) on the VPS.Wires:
services.forgejo.settings."repository.signing"withINITIAL_COMMIT/CRUD_ACTIONS/MERGESset toalways.forgejo-gpg-import.service(idempotent oneshot) that imports the secret key from/etc/forgejo-gpg-secret.ascusing/etc/forgejo-gpg-passphraseon first boot.forgejo-gpg-preset.service(oneshot,RemainAfterExit=true,KillMode=none) that spawns a long-livedgpg-agentand presets the cached passphrase viaPRESET_PASSPHRASE.gpg-agent.confsymlinked from a Nix-store-managed file withallow-preset-passphraseand a one-year cache TTL.Bootstrap files (
/etc/forgejo-gpg-secret.asc,/etc/forgejo-gpg-passphrase, both0600 root:root) are loaded into the relevant services via systemdLoadCredential. Documented inAGENTS.md.Verified: VPS reboot, signing cache restored automatically; throwaway PR on
tmux-mosaicmerged with a realgpgsigblock on the resulting merge commit.