mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-22 04:44:20 +00:00
keyboxd holds `public-keys.d/pubring.db.lock` for its whole lifetime, and gpg only breaks a stale lock that names the current host and a dead pid. After a container is re-created, signing, signed merges and auto merge time out on the old container's lock, even after a graceful shutdown. At startup, Gitea now removes that lock from its default GnuPG home without inspecting it, a running keyboxd keeps working without the file. Admin-provided `GNUPGHOME` directories are left alone. Fixes: https://github.com/go-gitea/gitea/issues/30781 Assisted-by: Claude Code:claude-opus-5-5 --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Mansur Akhmadi <10739460+mansur-akhmadi@users.noreply.github.com> Co-authored-by: silverwind <me@silverwind.io>