[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re:
- From: Per Arnold Blåsmo <pablaasmo atmel com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re:
- Date: Thu, 20 Sep 2007 08:30:09 +0200
Try this in a script:
# Using 'echo "" | setsid ..' to make rpmbuild take "" as input to
# GPG key password.
echo "password" | setsid rpmbuild -ba --sign <specfile.spec>
It worked for me :-)
Regards
Per A.
Jos Vos wrote:
> <pre wrap>Hi,
>
> Is there a way to sign rpm's without having the passphrase read
> from a tty? I'm using a workaround with an expect script since
> a long time, which works, but now I have different needs (commands
> in a loop etc.) so that this isn't suffient anymore for me.
>
> Gpg itself has options like --passphrase-fd and --passphrase-file
> and I tried to use this in an own script and define %_gpgbin
> accordingly, but this doesn't seem to work: it looks like %_gpgbin
> is not used at all, it even works when I define it as /bin/false!
>
> Regards,
>
> --
> -- Jos Vos <jos xos nl>
> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
> -- Amsterdam, The Netherlands | Fax: +31 20 6948204
>
>
> </pre></body>
> </html>
> </html>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]