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 -r isn'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, using FROM-EMAIL as the sender. see also -H and -P. โœ‰๏ธ
  • -M FILE, --mail-text=FILE โ€” use the text in FILE as 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 username USER. 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: -A and -M both have requirements attached (-r and -m respectively), and -I will 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 โœจ๐Ÿ’–๐ŸŽ€