gpg 2.5.14 fails on first key listing if keys were generated in previous version.
GnuPG 2.5.13
root@b02bef684bbe:~# gpgconf -V
* GnuPG 2.5.13 (b39a0298112de853cc7c0833ed1c366330a225ef)
GNU/Linux
* Libgcrypt 1.11.2 (737cc636)
version:1.11.2:10b02:1.56:13800:
cc:110400:gcc:11.4.0:
ciphers:arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia:idea:salsa20:gost28147:chacha20:sm4:aria:
pubkeys:dsa:elgamal:rsa:ecc:kyber:
digests:crc:gostr3411-94::md4:md5:rmd160:sha1:sha256:sha512:sha3:tiger:whirlpool:stribog:blake2:sm3:
rnd-mod:getentropy:
cpu-arch:x86:amd64:
mpi-asm:amd64/mpih-add1.S:amd64/mpih-sub1.S:amd64/mpih-mul1.S:amd64/mpih-mul2.S:amd64/mpih-mul3.S:amd64/mpih-lshift.S:amd64/mpih-rshift.S:
mpi-powm:fixed-window
hwflist:intel-cpu:intel-fast-shld:intel-bmi2:intel-ssse3:intel-sse4.1:intel-pclmul:intel-aesni:intel-rdrand:intel-avx:intel-avx2:intel-fast-vpgather:intel-rdtsc:
fips-mode:n:::
rng-type:standard:1:3030000:1:
compliance:::
* GpgRT 1.56 (b3b68bde07b02dd2b6d78356ac90baa652a309fa)
* nPth 1.8 (64905e765aad9de6054ef70a97fc30bd992ce999)
* Libassuan 3.0.2 (0f84595a4bc706d3afb969d59618244c7db3b59f)
* KSBA 1.6.7 (b14e68b)
* NTBTLS 0.3.2 (2c38007)
root@b02bef684bbe:~#
root@b02bef684bbe:~# ps aux | grep -iE 'gpg|gnupg'
root 3712 0.6 0.1 152700 3856 ? Ssl 06:11 0:01 gpg-agent --homedir /root/.gnupg --daemon
root 3787 0.0 0.0 3472 1884 pts/1 S+ 06:14 0:00 grep --color=auto -iE gpg|gnupg
root@b02bef684bbe:~# gpg --list-secret-keys
[keyboxd]
---------
sec ed448/0xD508AB8C71652DCE 2025-11-20 [SC]
D508AB8C71652DCE1261504AF5BD63FC1CA362C37834310BF15833759A84DF4E
uid [ultimate] test01
ssb ky1024_cv448/0xCDF1B9FE6D3E4C12 2025-11-20 [E]
CDF1B9FE6D3E4C120F5DC81493E5EDEFE8CACE3F335561FE22388BC96852F633
root@b02bef684bbe:~#GnuPG 2.5.14
root@b02bef684bbe:~# gpgconf -V
* GnuPG 2.5.14 (4d993c37d9b0b9262f859c23fea2e8da561f4639)
GNU/Linux
* Libgcrypt 1.11.2 (737cc636)
version:1.11.2:10b02:1.56:13800:
cc:110400:gcc:11.4.0:
ciphers:arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia:idea:salsa20:gost28147:chacha20:sm4:aria:
pubkeys:dsa:elgamal:rsa:ecc:kyber:
digests:crc:gostr3411-94::md4:md5:rmd160:sha1:sha256:sha512:sha3:tiger:whirlpool:stribog:blake2:sm3:
rnd-mod:getentropy:
cpu-arch:x86:amd64:
mpi-asm:amd64/mpih-add1.S:amd64/mpih-sub1.S:amd64/mpih-mul1.S:amd64/mpih-mul2.S:amd64/mpih-mul3.S:amd64/mpih-lshift.S:amd64/mpih-rshift.S:
mpi-powm:fixed-window
hwflist:intel-cpu:intel-fast-shld:intel-bmi2:intel-ssse3:intel-sse4.1:intel-pclmul:intel-aesni:intel-rdrand:intel-avx:intel-avx2:intel-fast-vpgather:intel-rdtsc:
fips-mode:n:::
rng-type:standard:1:3030000:1:
compliance:::
* GpgRT 1.56 (b3b68bde07b02dd2b6d78356ac90baa652a309fa)
* nPth 1.8 (64905e765aad9de6054ef70a97fc30bd992ce999)
* Libassuan 3.0.2 (0f84595a4bc706d3afb969d59618244c7db3b59f)
* KSBA 1.6.7 (b14e68b)
* NTBTLS 0.3.2 (2c38007)
root@b02bef684bbe:~# ps aux | grep -iE 'gpg|gnupg'
root 3870 0.0 0.1 78972 2484 ? Ss 06:16 0:00 gpg-agent --homedir /root/.gnupg --daemon
root 3886 0.0 0.0 3472 1852 pts/1 S+ 06:17 0:00 grep --color=auto -iE gpg|gnupg
root@b02bef684bbe:~#
root@b02bef684bbe:~# gpg --list-secret-keys
gpg: keydb_search_first failed: SQL error
root@b02bef684bbe:~#
root@b02bef684bbe:~# gpg --list-secret-keys
[keyboxd]
---------
sec ed448/0xD508AB8C71652DCE 2025-11-20 [SC]
D508AB8C71652DCE1261504AF5BD63FC1CA362C37834310BF15833759A84DF4E
uid [ultimate] test01
ssb ky1024_cv448/0xCDF1B9FE6D3E4C12 2025-11-20 [E]
CDF1B9FE6D3E4C120F5DC81493E5EDEFE8CACE3F335561FE22388BC96852F633
root@b02bef684bbe:~#