Hi, That bug was the one biting me. I updated rpm from installed 4.4.2.3-9 to 4.4.2.3-18, logged out, logged in, did an rpmbuild -ba --sign app.spec entered the passphrase rpm worked fine, doing an rpm -Kv on the src.rpm gave me all ok in the output. Thanks. Dave. -----Original Message----- From: devzero2000 [mailto:pinto.elia@xxxxxxxxx] Sent: Thursday, September 17, 2009 5:02 AM To: dave.mehler@xxxxxxxxx Cc: rpm-list@xxxxxxxxxxxxx Subject: Re: bad gpg signature on src.rpm? On Thu, Sep 17, 2009 at 4:04 AM, Dave <dave.mehler@xxxxxxxxx> wrote: Hi, My rpm version is on centos 5.3. It's version 4.4.2.3-9.el5.x86_64 and the error is bad header gpg key <KeyID> I'm looking for an updated rpm. The problem is likely this https://bugzilla.redhat.com/show_bug.cgi?id=502791 And yes was fixed. The last rpm version for RHEL 5.4 is 4.4.2.3-18 but there is no problem to update only the rpm version on 5.3. Regards Thanks. Dave. -----Original Message----- From: devzero2000 [mailto:pinto.elia@xxxxxxxxx] Sent: Wednesday, September 16, 2009 3:44 AM To: dave.mehler@xxxxxxxxx; General discussion about the RPM package manager Subject: Re: bad gpg signature on src.rpm? On Wed, Sep 16, 2009 at 4:21 AM, Dave <dave.mehler@xxxxxxxxx> wrote: Hello, I've started signing rpms that i make with my gpg signature, this has worked fine for stuff that i make. Tonight i downloaded an src.rpm made by someone else in this case a centos 3rd party repo and recompiled it. I did rpmbuild -ba --sign app.spec and gave my passphrase when prompted. The rpm built successfully an exit code of 0. I su-d to root and tried an rpm -Uvh app.spec as this is an upgrade not a fresh install and got the message You can use -Uvh also for a fresh install. bad key with my keyid. I then ran as root rpm --import RPM-GPG-KEY-mine which didn't return any errors and tried the upgrade again, same error. Any suggestions? Please tell your rpm version and post the error message. Thanks. Dave. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list