« Return to Thread: Problems signing rpms

Re: Problems signing rpms

by Chris-394 :: Rate this Message:

Reply to Author | View in Thread

On Fri, 2009-07-03 at 16:27 +0300, Thomas Backlund wrote:

> Chris skrev:
> > On Fri, 2009-07-03 at 13:02 +0300, Thomas Backlund wrote:
> >
> >>> Does anything look amiss?
> >>>
> >>
> >> What is the output of:
> >> rpmbuild -bs -v --sign /home/chris/rpm/SPECS/clamav.spec
> >
> > Hmm, there appears to be a problem here:
> >
> > [chris@localhost ~]$ rpmbuild -bs -v
> > --sign /home/chris/rpm/SPECS/clamav.spec
> > Enter pass phrase:
> > gpg: skipped "Chris Pollock (New email address as of 04/21/07)
> > <cpollock@...>": secret key not available
> > gpg: signing failed: secret key not available
> > Pass phrase check failed
>
>
> Yep, there is your problem...
>
> And you never responded to if the question if gpg sees the key with
>
> gpg -K
Sorry, thought I did. Appears to be using the wrong uid

[chris@localhost ~]$ gpg -K
gpg: using character set `utf-8'
gpg: using PGP trust model
gpg: key 98E6705C: accepted as trusted key
/home/chris/.gnupg/secring.gpg
------------------------------
sec   1024D/98E6705C 2005-11-23
uid                  Chris Pollock <cpollock@...>
ssb   2048g/F5604046 2005-11-23

So now I'm really confused because --list-keys shows:

[chris@localhost ~]$ gpg --list-keys cpollock@...
gpg: using character set `utf-8'
gpg: using PGP trust model
gpg: key 98E6705C: accepted as trusted key
pub   1024D/98E6705C 2005-11-23
uid                  Chris Pollock (New email address as of 04/21/07)
<cpollock@...>
uid                  Chris Pollock <cpollock@...>
sub   2048g/F5604046 2005-11-23


--
KeyID 0xE372A7DA98E6705C



signature.asc (204 bytes) Download Attachment

 « Return to Thread: Problems signing rpms