Package: src:gnupg2 Version: 2.4.3-2 > gpg --quick-generate-key "A User <a...@example.com>" rsa2048 > > ~ gpg: directory '/home/XXXX/.gnupg' created We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives the random number generator a better chance to gain enough entropy. gpg: error writing public keyring '[keyboxd]': Attempt to write a readonly SQL database Key generation failed: Attempt to write a readonly SQL database
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. https://github.com/gpg/gnupg/blob/master/README -- YunQiang Su