How do I fix invalid or corrupted gpg keys?

That gave me the return:

total 32
drwx------ 2 root root 4096 12 feb 20.10 crls.d
-rw-r--r-- 1 root root   17 12 feb 20.10 gpg-agent.conf
-rw-r--r-- 1 root root  141 12 feb 20.10 gpg.conf
-rw-r--r-- 1 root root    0 12 feb 20.10 .gpg-v21-migrated
drwx------ 2 root root 4096 12 feb 20.10 openpgp-revocs.d
drwx------ 2 root root 4096 12 feb 20.10 private-keys-v1.d
-rw-r--r-- 1 root root    0 12 feb 20.10 pubring.gpg
-rw-r--r-- 1 root root 2590 12 feb 20.10 pubring.kbx
-rw-r--r-- 1 root root 1349 12 feb 20.10 pubring.kbx~
srwx------ 1 root root    0 12 feb 20.10 S.dirmngr
-rw------- 1 root root    0 12 feb 20.10 secring.gpg
srwx------ 1 root root    0 12 feb 20.10 S.gpg-agent
srwx------ 1 root root    0 12 feb 20.10 S.gpg-agent.browser
srwx------ 1 root root    0 12 feb 20.10 S.gpg-agent.extra
srwx------ 1 root root    0 12 feb 20.10 S.gpg-agent.ssh
-rw-r--r-- 1 root root 1280 12 feb 20.10 trustdb.gpg

Is that odd? Previously the terminal told me that this doesn’t exist, I must be missing something


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text