Hello, YunQiang Su <wzss...@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.) --