Re: Can't get rpmbuild to work with gpg-agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/12, Guido Winkelmann <guido-fedora-users@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm trying to package some software with rpmbuild and signing the packages
> at
> the same time. I'm following the guide found here:
>
> http://www.ibm.com/developerworks/library/l-rpm3/
>
> It mostly works - I do get properly signed RPMs at the end - however,
> despite
> running gpg-agent, rpmbuild keeps asking for my (lengthy) GPG-passphrase
> every
> single time it is finished with a spec-file. This can be particularly
> annoying
> when building very large packages, because, instead of asking again,
> rpmbuild
> will abort the entire process if I mistype the passphrase even once. If I
> run
> rpmbuild again after that, it will build the whole package over again...

When I used to maintain Node.js packages for Fedora, I always ran
`rpmsign --addsign` after a plain rpmbuild without the --sign.  Doing
it this way only requires entry of the password once as long you pass
a glob to rpmsign, and eliminates the need for a full rebuild if you
typo the passphrase.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux