Robert Schiele skrev:
On Thu, Nov 09, 2006 at 07:29:22PM +0100, Anders Norrbring wrote:
Is there a way to automatically provide the passkey to gpg and rpmbuild when using the 'build' scripts? Many times I build packages for both i586 and x86_64 and SUSE versions 9.3 -> 10.1 and SLES9 & 10. It would be really nice to automate all the passkey entries so I can run it all in one batch.

Just remove the passphrase from your key.  It does not make any sense to
encrypt your private key with a passphrase and then store this passphrase
somewhere on the disk for a batch process.

Just out of curiousity and laborating, how would I go about to do that?
I just generated a new keypair, just pressing <enter> when asked for a pass, then I exported as described in the build script's dists_common file.

Still, rpmbuild asks for the passphrase, I have to hit enter to continue.
--

Anders Norrbring
Norrbring Consulting

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to