Chapter 3. Building Custom Packages
9
is the key ID, which tells RPM which signature in your GPG keyring to use. This
The
_gpg_name
value can be derived from the command:
gpg --list-keys
To sign the package package-name-1.0-1.noarch.rpm, use the following command:
rpm --resign package-name-1.0-1.noarch.rpm
Enter your passphrase. To make sure the package is signed, use the following command:
rpm --checksig -v package-name-1.0-1.noarch.rpm
You should see the phrase
in the output.
Good signature from "Your Name"