.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RPM-SETUP-AUTOSIGN" "1" "2026-03-06" "RPM 6.0.1" .PP .SH NAME \fBrpm-setup-autosign\fR - Set up automatic signing for rpmbuild .PP .SH SYNOPSIS \fBrpm-setup-autosign\fR [options] .PP .SH DESCRIPTION \fBrpm-setup-autosign\fR is used to set up automatic signing from \fBrpmbuild\fR(1).\& It generates a user- and host-specific, passwordless OpenPGP key, configures \fBrpmbuild\fR(1) to use that key and exports the public key (aka certificate) for importing to the persistent \fBrpm\fR(8) keyring.\& .PP The purpose of automatic signing is to make testing local builds painless.\& For distributing packages, it'\&s recommended to use a separate signing account that cannot be compromised by a build.\& .PP .SH OPTIONS \fB-p\fR <\fBgpg\fR|\fBsq\fR>, \fB--prog\fR <\fBgpg\fR|\fBsq\fR> .RS 4 Specify the signing program to use: GnuPG or Sequoia PGP'\&s sq.\& .PP .RE .SH CONFIGURATION On successful completion, one or more of the following macros will be configured in the user'\&s macro configuration file.\& See \fBrpm-config\fR(5) for details: .PD 0 .IP \(bu 4 \fB%_openpgp_autosign_id\fR .IP \(bu 4 \fB%_openpgp_sign\fR .PD .PP .SH EXIT STATUS On success, 0 is returned, a nonzero failure code otherwise.\& .PP .SH FILES \fI\(ti/.\&config/rpm/rpmbuild-*.\&asc\fR .br \fI\(ti/.\&config/rpm/macros\fR .PP .SH EXAMPLES \fB/usr/lib/rpm/rpm-setup-autosign -p sq\fR .RS 4 Set up \fBrpmbuild\fR(1) autosigning using Sequoia-sq.\& .PP .RE .SH SEE ALSO \fBrpm\fR(8) \fBrpmsign\fR(1) \fBrpmbuild\fR(1) .PP \fBhttp://www.\&rpm.\&org/\fR