Debian Codegraph @

upstream/debian-unstable/man1/rpm-setup-autosign.1

raw
1 .\" Generated by scdoc 1.11.4
2 .\" Complete documentation for this program is not available as a GNU info page
3 .ie \n(.g .ds Aq \(aq
4 .el .ds Aq '
5 .nh
6 .ad l
7 .\" Begin generated content:
8 .TH "RPM-SETUP-AUTOSIGN" "1" "2026-04-10" "RPM 6.0.1"
9 .PP
10 .SH NAME
11 \fBrpm-setup-autosign\fR - Set up automatic signing for rpmbuild
12 .PP
13 .SH SYNOPSIS
14 \fBrpm-setup-autosign\fR [options]
15 .PP
16 .SH DESCRIPTION
17 \fBrpm-setup-autosign\fR is used to set up automatic signing from \fBrpmbuild\fR(1).\&
18 It generates a user- and host-specific, passwordless OpenPGP key,
19 configures \fBrpmbuild\fR(1) to use that key and exports the public key
20 (aka certificate) for importing to the persistent \fBrpm\fR(8) keyring.\&
21 .PP
22 The purpose of automatic signing is to make testing local builds
23 painless.\& For distributing packages, it'\&s recommended to use a separate
24 signing account that cannot be compromised by a build.\&
25 .PP
26 .SH OPTIONS
27 \fB-p\fR <\fBgpg\fR|\fBsq\fR>,
28 \fB--prog\fR <\fBgpg\fR|\fBsq\fR>
29 .RS 4
30 Specify the signing program to use: GnuPG or Sequoia PGP'\&s sq.\&
31 .PP
32 .RE
33 .SH CONFIGURATION
34 On successful completion, one or more of the following macros will be
35 configured in the user'\&s macro configuration file.\&
36 See \fBrpm-config\fR(5) for details:
37 .PD 0
38 .IP \(bu 4
39 \fB%_openpgp_autosign_id\fR
40 .IP \(bu 4
41 \fB%_openpgp_sign\fR
42 .PD
43 .PP
44 .SH EXIT STATUS
45 On success, 0 is returned, a nonzero failure code otherwise.\&
46 .PP
47 .SH FILES
48 \fI\(ti/.\&config/rpm/rpmbuild-*.\&asc\fR
49 .br
50 \fI\(ti/.\&config/rpm/macros\fR
51 .PP
52 .SH EXAMPLES
53 \fB/usr/lib/rpm/rpm-setup-autosign -p sq\fR
54 .RS 4
55 Set up \fBrpmbuild\fR(1) autosigning using Sequoia-sq.\&
56 .PP
57 .RE
58 .SH SEE ALSO
59 \fBrpm\fR(8) \fBrpmsign\fR(1) \fBrpmbuild\fR(1)
60 .PP
61 \fBhttp://www.\&rpm.\&org/\fR