Question: where are gpg keys stored linux?
Answer: The imported keys are stored in the RPM database, and the files in /etc/pki/rpm-gpg are used as source files for the imports. It is not necessary to have the keys in /etc/pki/rpm-gpg, the keys can be imported from anywhere. When you run rpm -qa gpg* you will see the fingerprints of the keys.