« Return to Thread: Problems signing rpms

Re: Problems signing rpms

by Thomas Backlund :: Rate this Message:

Reply to Author | View in Thread

Chris skrev:

> I'm building clamav rpm's for 2009.1 and am having an issue signing them
> with my gpg key. Previously when I was running 10.1 I had no problems.
> I'm using the below command:
>
> [chris@localhost ~]$ rpmbuild
> -bb--sign /home/chris/rpm/SPECS/clamav.spec
> Enter pass phrase:
> Pass phrase check failed
>
> My ~/.rpmmacros file has all the same info as I used in building rpms
> for 10.1:
>
> %_topdir /home/chris/rpm
> %_tmppath /home/chris/rpm/tmp
>
> %_signature gpg
> %_gpg_name Chris Pollock (New email address as of 04/21/07) <cpollock@...>
> %_gpg_path ~/.gnupg
> %distribution MandrivaLinux
> %vendor Mandriva
>
> And I've ensured that I entered my passphrase correctly. Any ideas as to what the
> problem may be? There are no problems building without the sig and guess I could upload
> them to the site I usually do unsigned however I'd feel better if they were.
>


Does your %_gpg_name match whats in your gpg key ?
(matching uid in 'gpg -K' output)

Is your gpg keys correctly installed in ~/.gnupg ?

Is the permissions correct on the .gnupg files ?
(700 on directory, 600 on the files)

--
Thomas

 « Return to Thread: Problems signing rpms