It would be great if --list-keys was as fast as kbxutil ;-) Using fresh
/tmp/gnupg{1,2} from
http://lists.gnupg.org/pipermail/gnupg-devel/2015-February/029541.html:
$ time gpg2 --homedir /tmp/gnupg2 --list-keys >/dev/null 0:04.98 (4.84 user, 0.12 sys) 14360k maxres $ time gpg2 --homedir /tmp/gnupg1 --list-keys >/dev/null 0:07.24 (7.14 user, 0.08 sys) 9580k maxres $ time gpg2 --options /tmp/gnupg2/gpg.conf --list-keys >/dev/null 0:09.06 (8.94 user, 0.10 sys) 14264k maxres $ time kbxutil /tmp/gnupg2/pubring.kbx >/dev/null 0:00.66 (0.60 user, 0.05 sys) 4888k maxres
With trust calculation disabled, what justifies the overhead in --list-keys?
Also, it's particulary odd that key listing is twice as slow in my own homedir.