gpg2 is roughly ten times slower at running --check-trustdb than gpg. During
this time gpg2 runs at 100% cpu. I have also noticed performance problems with
listing keys.
This is unrelated to T1938, as I am not using a keybox.
$ time gpg --check-trustdb; time gpg2 --check-trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 6 signed: 9 trust: 0-, 0q, 0n, 0m, 0f, 6u
gpg: depth: 1 valid: 9 signed: 19 trust: 0-, 0q, 0n, 1m, 8f, 0u
gpg: depth: 2 valid: 18 signed: 147 trust: 7-, 0q, 0n, 5m, 6f, 0u
gpg: depth: 3 valid: 17 signed: 300 trust: 4-, 0q, 0n, 8m, 5f, 0u
gpg: depth: 4 valid: 158 signed: 616 trust: 49-, 0q, 0n, 91m, 18f, 0u
gpg: next trustdb check due at 2015-07-04
real 0m27.898s
user 0m24.932s
sys 0m0.696s
gpg: Note: signatures using the MD5 algorithm are rejected
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 6 signed: 9 trust: 0-, 0q, 0n, 0m, 0f, 6u
gpg: depth: 1 valid: 9 signed: 19 trust: 0-, 0q, 0n, 1m, 8f, 0u
gpg: depth: 2 valid: 18 signed: 147 trust: 7-, 0q, 0n, 5m, 6f, 0u
gpg: depth: 3 valid: 17 signed: 300 trust: 4-, 0q, 0n, 8m, 5f, 0u
gpg: depth: 4 valid: 158 signed: 613 trust: 50-, 0q, 0n, 90m, 18f, 0u
gpg: next trustdb check due at 2015-07-04
real 5m29.332s
user 4m30.520s
sys 0m58.216s
$ gpg --version
gpg (GnuPG) 1.4.18
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
$ gpg2 --version
gpg (GnuPG) 2.0.26
libgcrypt 1.6.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2