<br><tt><font size=2>Douglas Hubler wrote on 12/13/2006 06:18:21 PM:<br>
<br>
> Joe Todaro <jstodaro <at> us.ibm.com> writes:<br>
> > Here, in fact I made some enhancements to the script<br>
> <snip><br>
> > See what you can do with it.<br>
> <br>
> Joe,<br>
> <br>
> I'm using the expect script you attached to your last post, thanks
for posting<br>
> it! <br>
> <br>
> I'm finding on larger RPMs the expect script times out after password
but <br>
> beforethe actual signing and without giving an error message. <br>
> <br>
> So I<br>
> - added a timeout error condition after password is entered.
<br>
> - increase timeout. <br>
> <br>
> Does it look right? Seems to work for me.</font></tt>
<br>
<br><tt><font size=2>Yeah. Looks fine Douglas. Good catch. </font></tt>
<br><tt><font size=2><br>
> <br>
> Also, I cannot seem to find documentation on what<br>
> --with sig_main<br>
> does, can you explain?</font></tt>
<br>
<br><tt><font size=2>The basic package signing methods are described here:
</font></tt>
<br><tt><font size=2 color=blue>http://library.n0i.net/linux-unix/programming/ma-xrpm/s1-rpm-pgp-signing-packages.html</font></tt>
<br>
<br><tt><font size=2>And the "--with sig_main" option can be
implemented via the "%_gpg_name" </font></tt>
<br><tt><font size=2>macro, that might look something like this:</font></tt>
<br><tt><font size=2>%_gpg_name %{?_with_sig_main:F333AC40}%{?_with_sig_addon:5036E41F}</font></tt>
<br><tt><font size=2><br>
> <br>
> <br>
> modified extras-signer.ex<br>
> http://pastebin.ca/278275<br>
> <br>
> <br>
> --<br>
> Fedora-buildsys-list mailing list<br>
> Fedora-buildsys-list@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list<br>
</font></tt>