When I try to do anything related to my key, this happens:
[aei@blackspace ~]$ gpg --edit-key aei gpg (GnuPG) 2.4.4; Copyright (C) 2024 g10 Code GmbH This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gpg: Note: database_open 134217901 waiting for lock (held by 22) ... gpg: Note: database_open 134217901 waiting for lock (held by 22) ... gpg: Note: database_open 134217901 waiting for lock (held by 22) ... gpg: Note: database_open 134217901 waiting for lock (held by 22) ... gpg: Note: database_open 134217901 waiting for lock (held by 22) ... gpg: keydb_search failed: Connection timed out gpg: key "aei" not found: Connection timed out
This happens only in fedora? Presumably cause systemd shenanigans.
Temporary fix, worked for me:
rm ~/.gnupg/public-keys.d/pubring.db.lockGpg stuck after any command! - GnuPG / Help - GnuPG & Gpg4win Forum