0
To add a repository to my Centos server, I am doing the following:
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 https://www.fedoraproject.org/static/0608B895.txt
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# Configure priorities per the documentation.
Questions...
- Should I always save keys in
/etc/pki/rpm-gpg/
as I did above? Note that http://wiki.centos.org/AdditionalResources/Repositories/RPMForge does not state to save the at all, but other documents do. - Is it up to me to come up with a name for the key (i.e.
RPM-GPG-KEY-EPEL-6
? Is there an accepted naming standard? - How do I identify the correct link for the key? For instance, I am using https://www.fedoraproject.org/static/0608B895.txt, but I just used this key from some random tutorial, and don't know why it is the correct link.
- How do I ensure the key is accurate? I did
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
, but what does that tell me? - Anything else I should be doing?
Thank you