I want to sign rpm package at the time of build by making use of --
sign tag.
rpmbuild --sign some.rpm
the build will happen in a script, which will run in the background.
1. Can I put my passphrase in the script file?
2. If I do not want to put my passphrase in the script file, is there
a way a trust can be established for rpmbuild, so that it does not
prompt for a passphrase.
Please let me know.
Thanks in advance.
Nagrik
>
> Hello Group,
>
> I want to sign rpm package at the time of build by making use of --
> sign tag.
>
> rpmbuild --sign some.rpm
>
> the build will happen in a script, which will run in the background.
>
> 1. Can I put my passphrase in the script file?
No.
>
> 2. If I do not want to put my passphrase in the script file, is there
> a way a trust can be established for rpmbuild, so that it does not
> prompt for a passphrase.
rpmbuild seems to ALWAYS prompt on stdin for the passphrase.
I too would like some kind of way of signing RPMs as part of an
automated / background / scripted workflow.
>
> Please let me know.
>
> Thanks in advance.
>
> Nagrik
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
If rpmbuild asks for a stdin input, you might try:
expect
I am unable to help you with the details, have seen examples of feeding
stdin input for telnet.
Regards,
Jan Gerrit