PIUS(1)
๐ PIUS(1) โ PGP Individual UID Signer ๐
okay bestie, so this is a General Commands Manual page for pius, and it's genuinely one of the most useful little tools out there, no cap. let's get into it โจ
โจ NAME โจ
pius โ PGP Individual UID Signer ๐ซถ
๐ธ SYNOPSIS ๐ธ
pius [options] -s <signer-keyid> <keyid> [ <keyid> ... ]
pius [options] -A -r <keyring-path> -s <signer-keyid>
๐ฆ DESCRIPTION ๐ฆ
so like. pius is a tool for individually signing all of the UIDs on a set of keys, and then emailing an encrypted copy of each such signature to the email address associated with that UID. the way that it does them one at a time is the whole point, iykyk ๐
and the consequences of that? iconic honestly:
- the recipient can choose which signatures to import โ their inbox, their rules ๐
- signatures of inactive uids are not delivered at all ๐
- and it greatly reduces time and error when signing keys, which is the part where you're like "wait this used to take me all afternoon" ๐ญ
it's giving "I have my life together." periodt.
๐ OPTIONS ๐
--versionโ show program's version number and exit ๐-h,--helpโ show this help message and exit ๐ซถ-A,--all-keysโ sign all keys on the keyring. requires-r. โ ๏ธ-d,--debugโ enable debugging output ๐-b PATH,--gpg-path=PATHโ path to the gpg binary.[default: /usr/bin/gpg2]๐ ๏ธ-e,--encrypt-outfilesโ encrypt the output files with their respective keys ๐-H HOSTNAME,--mail-host=HOSTNAMEโ hostname of the SMTP server.[default: localhost]๐ฎ-I,--importโ also import the unsigned keys from the keyring into the default keyring. it gets ignored if-risn't specified, or if it's the same as the default keyring. ๐ซ-m FROM-EMAIL,--mail=FROM-EMAILโ email the encrypted, signed keys to the respective email addresses, usingFROM-EMAILas the sender. see also-Hand-P. โ๏ธ-M FILE,--mail-text=FILEโ use the text inFILEas the body of the email when sending out emails, instead of the default text. to see the default text, use--print-default-email. requires-m. ๐-N,--no-sort-keyringโ do not sort the keyring by name. ๐-n TO-EMAIL,--override-email=TO-EMAILโ rather than send to the user, send to this address. mostly useful for debugging. ๐-o OUTPUT-DIR,--out-dir=OUTPUT-DIRโ directory to put signed keys in.[default: /tmp/pius_out]๐-O,--no-pgp-mimeโ do not use PGP/Mime when sending email. ๐ง-P PORT,--mail-port=PORTโ port of the SMTP server.[default: 587]๐-r KEYRING,--keyring=KEYRINGโ the keyring to use. be sure to specify a full or relative path โ just a filename will cause GPG to assume relative to~/.gnupg.[default: ~/.gnupg/pubring.gpg]๐๏ธ-s SIGNER-KEYID,--signer=SIGNER-KEYIDโ the keyid to sign with (required). ๐-f KEYID,--force-signer=KEYIDโ force GnuPG to use this exact keyid to sign (do not guess the subkey). ๐ฏ-S,--no-mail-tlsโ do not use STARTTLS when talking to the SMTP server. ๐ซ-t TEMP-DIR,--tmp-dir=TEMP-DIRโ directory to put temporary stuff in.[default: /tmp/pius_tmp]๐๏ธ-T,--print-default-emailโ print the default email. ๐จ๏ธ-u USER,--mail-user=USERโ authenticate to the SMTP server with usernameUSER. you will be prompted for the password. ๐-U POLICY-URL,--policy-url=POLICY-URLโ policy URL to include in each signature. ๐-v,--verboseโ be more verbose. ๐ฃ๏ธ
real talk bestie:-Aand-Mboth have requirements attached (-rand-mrespectively), and-Iwill straight up get ignored in certain cases. read the fine print, it's not being dramatic, it's just facts ๐
๐ AUTHOR ๐
PIUS was written by Phil Dibowitz <phil@ipom.com> ๐
This manual page was written by Luke Cycon <lcycon@gmail.com> and Felix Lechner <felix.lechner@gmail.com> for the Debian project, but may be used by others. ๐
okay that's the whole page, mwah ๐ this one's dated DECEMBER 2016 and it lives in the General Commands Manual section โ so go sign some keys, bestie, you're gonna slay โจ๐๐
๐ฆ where this page comes from
- arch rolling: pius 3.0.0-9 ยท GPL
- debian bookworm: pius 3.0.0-5 ยท GPL-2.0-only
- debian trixie: pius 3.0.0-8 ยท GPL-2.0-only
- nixos 26.05: pius 3.0.0
- nixpkgs unstable: pius 3.0.0
- ubuntu jammy: pius 3.0.0-3 ยท GPL-2.0-only
- ubuntu noble: pius 3.0.0-7 ยท GPL-2.0-only
- ubuntu questing: pius 3.0.0-8
- ubuntu resolute: pius 3.0.0-8build1 ยท GPL-2.0-only
- ubuntu stonking: pius 3.0.0-8build1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms