On Mon, Nov 13, 2006 at 07:32:26PM +0100, Anders Norrbring wrote: > 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.
Yes, unfortunately that is what an out-of-the-box rpm binary does. You either have to use a patched rpm binary or you have to work around this with something like echo -e 'spawn rpm --addsign my.rpm\nexpect "Enter pass phrase:"\nsend "\\r"\nexpect' | expect You can also substitute "rpm --addsign" with the command you are actually using. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:[EMAIL PROTECTED] "Quidquid latine dictum sit, altum sonatur."
pgpEZ3vhSQVu1.pgp
Description: PGP signature
