[pkg-gnupg-maint] Bug#1058572: Bug#1058572: gnupg2.4: fail to initialize homedir and generate key due to keyboxd
NIIBE Yutaka
gniibe at fsij.org
Fri Dec 15 00:22:14 GMT 2023
Hello,
YunQiang Su <wzssyqa at gmail.com> wrote:
> gpg: error writing public keyring '[keyboxd]': Attempt to write a
> readonly SQL database
> Key generation failed: Attempt to write a readonly SQL database
I can't replicate this issue on my system. With a new user I created
for the test, I had no problem; The directory ~/.gnupg is created,
~/.gnupg/public-keys.d is created, and ~/.gnupg/public-keys.d/pubring.db
is created. Note that keyboxd just works with systemd by socket
activation.
> The problem is due to when create gnupg 2.4+ will add a "common.conf"
> in new created ~/.gnupg directory, with "use-keyboxd", while keyboxed
> is not enabled on Debian yet.
Keyboxd is enabled, but only with 2.4.
I wonder if this is a transition problem after the installation of
GnuPG.
When you see the failure, what is the output of the following command?
$ systemctl --user status keyboxd
(I mean, how keyboxd complained.)
--
More information about the pkg-gnupg-maint
mailing list