Hello,
I am closing this since also cannot reproduce (with 2.4.7)
testit@argenau:~$ rm -rf .gnupg/
testit@argenau:~$ gpg --quick-gen-key
testit@example.com
gpg: directory '/home/testit/.gnupg' created
gpg: keybox '/home/testit/.gnupg/pubring.kbx' created
About to create a key for:
"
testit@example.com"
[...]
testit@argenau:~$ ls -l gitea-keys.gpg .gnupg/pubring.kbx
-rw-rw-r-- 1 testit testit 627 Apr 18 15:01 .gnupg/pubring.kbx
-rw-rw-r-- 1 testit testit 0 Apr 18 14:58 gitea-keys.gpg
testit@argenau:~$ gpg --no-default-keyring --keyring ~/gitea-keys.gpg --recv-keys CC64B1DB67ABBEECAB24B6455FC346329753F4B0
gpg: key 2D9AE806EC1592E2: public key "Teabot <
teabot@gitea.io>" imported
gpg: Total number processed: 1
gpg: imported: 1
testit@argenau:~$ ls -l gitea-keys.gpg .gnupg/pubring.kbx
-rw-rw-r-- 1 testit testit 627 Apr 18 15:01 .gnupg/pubring.kbx
-rw-rw-r-- 1 testit testit 5826 Apr 18 15:01 gitea-keys.gpg
testit@argenau:~$ gpg --list-keys
/home/testit/.gnupg/pubring.kbx
-------------------------------
pub ed25519 2025-04-18 [SC] [expires: 2028-04-17]
67FA21423CFEEBFFFF2BE7FD26861A8016689EE6
uid [ unknown]
testit@example.com
sub cv25519 2025-04-18 [E]
testit@argenau:~$ gpg --no-default-keyring --keyring ~/gitea-keys.gpg --list-keys
/home/testit/gitea-keys.gpg
---------------------------
pub rsa4096 2018-06-24 [SC] [expires: 2025-06-22]
7C9E68152594688862D62AF62D9AE806EC1592E2
uid [ unknown] Teabot <
teabot@gitea.io>
sub rsa4096 2018-06-24 [E] [expires: 2025-06-22]
sub rsa4096 2018-06-24 [S] [expires: 2025-06-22]
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)