Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-3
-
Fix Version/s: 2.0-beta-4
-
Component/s: rpm
-
Labels:None
-
Number of attachments :
Description
This would allow automation of building signed rpms, where the $
{gpg.passphrase}could be stored in settings.xml for security reasons.
I understand this may be a difficult task since rpmbuild itself does not accept a passphrase as a passthrough to gpg. Some trickery may be required, but it would be an excellent feature to use with tools such as Spacewalk, which requires a signed RPM to deploy.
Using a gpg-agent to cache the passphrase is possibly an option but the cache expires.
Would something like this[1] be acceptable?
It would require that expect be installed, but does not look terribly difficult. It may also mean changing the signing strategy a bit to build the rpm and then sign it, rather than build and sign all in in step.
[1] - http://aaronhawley.livejournal.com/10615.html