Product SiteDocumentation Site

Signing with the rpmbuild command

The --sign option tells the rpmbuild command to sign the created package. You need to have configured the RPM system for your signature as shown in the previous sections.
When you then build an RPM, you will be prompted for your pass phrase prior to the package build. For example, the following shows this prompt (and truncates the rest of the rpmbuild messages that follow):
$ rpmbuild -bb --sign xtoolwait-1.2.spec
Enter pass phrase:
Pass phrase is good.