RPM-SETUP-AUTOSIGN(1)

πŸ’– RPM-SETUP-AUTOSIGN(1) β€” the manual page, bestie edition πŸ’–

General Commands Manual ✨ okay so this is the tea on rpm-setup-autosign, and honestly? it's giving convenience 🫢


✨ NAME ✨

rpm-setup-autosign β€” set up automatic signing for rpmbuild πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

rpm-setup-autosign [options]

that's it. that's the whole vibe. no cap. 🌸


πŸ’œ DESCRIPTION πŸ’œ

okay so listen β€” rpm-setup-autosign is the little helper that sets up automatic signing from rpmbuild(1). like, you run it and it just handles things for you. queen behaviour, honestly πŸ‘‘

here's the rundown of what it actually does:

  • generates a user- and host-specific, passwordless OpenPGP key ⭐ (yes bestie, passwordless β€” it's made for convenience, not for your banking)
  • configures rpmbuild(1) to use that key πŸ”§
  • exports the public key (aka certificate) so you can import it to the persistent rpm(8) keyring πŸ—οΈ

the whole purpose of automatic signing is to make testing local builds painless. that's the moment. that's the dream. no more crying over signatures while you're just trying to test something locally 😭

but ngl, for distributing packages, it's recommended to use a separate signing account that cannot be compromised by a build. seriously. do not use your cute little autosign key to ship real packages, that's not the move πŸ’€

πŸ’… OPTIONS πŸ’…

  • -p <gpg|sq>, --prog <gpg|sq> β€” Specify the signing program to use: GnuPG or Sequoia PGP's sq. pick your fighter, bestie πŸ₯Š

🌈 CONFIGURATION 🌈

on successful completion, one or more of the following macros will be configured in the user's macro configuration file. see rpm-config(5) for the details, iykyk:

  • %_openpgp_autosign_id
  • %_openpgp_sign

πŸ¦‹ EXIT STATUS πŸ¦‹

on success, 0 is returned. otherwise? a nonzero failure code. aka the ✨it did not work✨ code πŸ™ˆ


πŸ“ FILES πŸ“

  • ~/.config/rpm/rpmbuild-*.asc
  • ~/.config/rpm/macros

these are the spots. the locations. the homes of the goods 🏠


✨ EXAMPLES ✨

rpm-setup-autosign -p sq

Set up rpmbuild(1) autosigning using Sequoia-sq. that's it, one line, ate and left no crumbs πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

rpm(8) rpmsign(1) rpmbuild(1)

http://www.rpm.org/


okay and that's a wrap on the whole page, bestie!! this manual is from RPM 6.1.0, dated 2026-08-20, and the page itself is RPM-SETUP-AUTOSIGN(1) β€” go forth and sign your local builds painlessly, ily, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from