Mike wrote:
> and then did yum localupdate --nogpgcheck on the list of newly
> created rpms.

If you'd like to not have to disable the gpg signature check, that's
only a few more steps (most of which only need to be done once).

# Generate a key
gpg --gen-key # the defaults for key type and size are fine.

# Tell rpm what key to use (replace the keyid [8218AC56] with the
# keyid or the email address of the key you just created.
echo '%_gpg_name 8218AC56'>> ~/.rpmmacros

# Export the key from gpg
gpg -a --export 8218ac56> /tmp/rpm-gpg.asc

# Import the key to the rpm database (as root)
rpm --import /tmp/rpm-gpg.asc

# Whenever you (re)build a package, add --sign to the rpmbuild command
rpmbuild --rebuild --sign bind-9.5.0-33.P1.fc9.src.rpm

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nothing is wrong with California that a rise in the ocean level
wouldn't cure.
    -- Ross MacDonald (1915-1983)

Attachment: pgpbIBEa6l7R1.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Reply via email to