Files
gitea/modules
09279b0763 fix(git): remove stale gpg lock files on startup (#40355)
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>
2026-11-17 02:47:17 +00:00
..
2026-10-24 13:48:19 +00:00
2026-10-24 13:48:19 +00:00
2026-10-08 00:33:55 +08:00
2026-08-26 19:32:44 +00:00
2026-07-12 17:14:09 +00:00
2026-11-10 16:29:36 +00:00
2026-10-24 13:48:19 +00:00