How do i auto sign rpm's with rpmbuild?

Todd Zullinger tmz at pobox.com
Mon Aug 27 21:44:33 UTC 2007


RavenOak wrote:
> Use 'keychain' (RPM available through default repo, just install
> using yum).  You can have it manage both ssh and gpg keys.  However,
> the GPG Agent (which is really what you are using, keychain is a
> very elaborate wrapper around it that actually does add some value)
> has a short default time-out (like 30min or so...) you can do a man
> `gpg-agent` to learn more.

I think that by default at least, rpm will still prompt you for the
passphrase.  I just tested it on my system and with the passphrase
saved in gpg-agent, running rpm --addsign still prompts.  Does that
not happen for you?  If not, have you set anything specific in
~/.rpmmacros to get rpm to use the gpg-agent?

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sex can be messy, but only if it's done right.
    -- Groucho Marx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070827/052ea9ed/attachment-0002.bin 


More information about the users mailing list