Why does gpg -k write to tofu.db?

Brian Minton brian at minton.name
Tue Aug 11 23:40:44 CEST 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, Aug 11, 2020 at 5:32 PM Brian Minton wrote:
>
> I have a lot of public keys in my keybox (it's about 45 MB or so).
> I was trying to figure out why seemingly innocent tasks in gpg take
> a very long time.  It seems that gnupg is making a very long
> running transaction to the sqlite3 database ~/.gnupg/tofu.db
>

This did eventually complete:
pops-mintonw10:~/.gnupg$ time gpg -k|wc -l
13729

real 117m26.112s
user 25m56.486s
sys 90m31.859s

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTu0BWAE9wubW4AHqQ3uVB6z/IBbgUCXzMQOAAKCRA3uVB6z/IB
buclAQCkAgCcf5qGZg0Z57NLBl1FiE1x/cKnzD8V5Hy6++UW+AD7BHRFb90QZv8d
cHrod3qCQb9dqZwmyQk8sLsADTH6uweIdQQBEQgAHRYhBPnEu3YOeD8N7BCmimuO
s6Blz7qpBQJfMxA4AAoJEGuOs6Blz7qpqvEA/1ZkQLqdOLMSeJA+vle3nPe0m8j+
hrfGY2rjEyQAJKQGAP9vsR4vZ8BjgcNvVWnePvrEoRJ4CvkrQwa56193kvisJw==
=ZXla
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list