Over the years, my keyring grew and got rather big. So I did some
cleaning and deleted some revoked and otherwise useless certificates.
(If you wonder how, see this script - feedback welcome:
https://github.com/ilf/gpg-maintenance/blob/master/gpg-delete-revoked-keys.sh)
This got my keyring down from 4.600 to 1.000 keys:
% kbxutil --stats ~/.gnupg.bak/pubring.kbx | grep -e "Total" -e "openpgp"
Total number of blobs: 4656
openpgp: 4617
% kbxutil --stats ~/.gnupg/pubring.kbx | grep -e "Total" -e "openpgp"
Total number of blobs: 1041
openpgp: 1002
But the keybox file didn't get any smaller:
% du -h ~/.gnupg/pubring.kbx ~/.gnupg.bak/pubring.kbx
99M ~/.gnupg/pubring.kbx
99M ~/.gnupg.bak/pubring.kbx
Why is this?
I really don't understand keybox well enough to answer this myself.
Thanks!
PS: This could probably be updated:
Well, OpenPGP keys are not implemented, gpg still used the keyring
file pubring.gpg.
https://www.gnupg.org/documentation/manuals/gnupg/kbxutil.html
--
ilf
If you upload your address book to "the cloud", I don't want to be in it.
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users