Product SiteDocumentation Site

7.2. Manually Authorizing Package Sources

To manually add a public key to your rpm keyring, use the import feature of the rpm utility. For example, to import the file GPG-PUB-KEY.asc, type the following:
su -c 'rpm --import GPG-PUB-KEY.asc'
Enter the root password when prompted.
You may also import public keys directly from a Website. For example, to import the file GPG-PUB-KEY.asc on the website www.therepository.com the command would be:
su -c 'rpm --import http://www.therepository.com/GPG-PUB-KEY.asc'

Public Keys and up2date

The up2date utility automatically uses the public key for Fedora Core; packages. It does not add the public key to the keyring that is used by both yum and the rpm utility.