Apparently upstream stopped shipping systemd units but they were restored for F39: https://bugzilla.redhat.com/show_bug.cgi?id=2246111 keyboxd, a key database daemon introduced in GnuPG 2.3.0 is now enabled by default in 2.4.1 (https://github.com/gpg/gnupg/blob/gnupg-2.4.3/README#L119-L145) if user hasn't got a ~/.gnupg dir. It is not started as part of gpg-agent, it can be started with gpg-connect-agent: gpg-connect-agent --keyboxd https://www.gnupg.org/documentation/manuals/gnupg/Invoking-gpg_002dconnect_002dagent.html Over at Arch's bug tracker there's a service and a socket file that looks reasonable to me, except there's no package providing /usr/lib/gnupg/keyboxd on Fedora: https://bugs.archlinux.org/task/80238 Reproducible: Always Steps to Reproduce: 1. Install gnupg2 2. systemctl --user enable gpg-agent.socket 3. Run gpg -K Actual Results: gpg: no keyboxd running in this session gpg: error opening key DB: No Keybox daemon running gpg: keydb_search_first failed: Input/output error Expected Results: [keyboxd] --------- sec# rsa4096/0x337DDB574A8834DB 2020-06-01 [SC] Key fingerprint = 2B4D 0035 AFF0 F7DA CE5B 29D7 337D DB57 4A88 34DB uid [ultimate] Anton Tetov Johansson <anton> uid [ultimate] tetov <anton> ssb> rsa4096/0xEFD87259941676E0 2020-06-01 [A] [expires: 2025-06-22] ssb> rsa4096/0x6BCAFF0120433A0E 2020-06-01 [S] [expires: 2025-06-22] ssb> rsa4096/0xC82EF919DDF5E395 2020-06-01 [E] [expires: 2025-06-22]
I am not a systemd expert and I have a limited knowledge of how the new keyboxd work. Do you want to propose a PR with the necessary changes? The arch service files were already modified since the initial report. I would be happy to review and merge your contribution!
This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26. Fedora Linux 39 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.
In the end, the keybox systemd units were added and are available in the current release.