PIUS-KEYRING-MGR(1) General Commands Manual PIUS-KEYRING-MGR(1)

pius-keyring-mgr - PIUS (PGP Individual UID Signer) Keyring Manager

pius-keyring-mgr <mode> [options]

pius-keyring-mgr has several modes to manage keyrings. It was designed for signing parties, but can be used for any PGP keyring. The mode must be the first argument, with options as explained below.

Enable debugging output.
Path to gpg binary. [default: /usr/bin/gpg2]
Use this keyring.
Print summaries.

The build mode is used most of the time. It can parse a CSV file, automatically look for keys, and email anyone whose key was not be found. This mode can also import keys from an mbox file. The options are:

Parse MBOX-FILE and examine each message for PGP fingerprints or ascii-armored keys. Decodes messages as necessary.
Parse MBOX-FILE and import keys. You will almost certainly also want -D, -E, -F and -N.
Field delimiter to use when parsing CSV. Only meaningful with -c. [default: ',']
Column number with the email address in the CSV file. Only meaningful with -c. [default: 3]
Column number with the GPG fingerprint in the CSV file. Only meaningful with -c. [default: 4]
Email people whose keys were not located, using FROM-EMAIL as sender.
Use the text in FILE as the body of email when sending emails instead of the default text. To see the default text use --print-default-email. Requires -m.
Column number with the name in the CSV file. Only meaningful with -c. [default: 2]
Rather than send to the user, send to this address. Mostly useful for debugging.
The name of the party. Will be printed in the email sent out. Only useful with -m.
Try this keyserver. Specify once for each server (-s foo -s bar). [default: pool.sks-keyservers.net, pgp.mit.edu, keys.gnupg.net]
Directory to put temporary stuff in. [default: /tmp/pius_keyring_mgr_tmp]
Print the default email.
Comma-separated list of emails to ignore (no spaces).
Comma-separated list of PGP fingerprints to ignore (no spaces).

The prune mode opens a keyring and, for each key, asks to remove it. Useful after a party to trim a keyring of people who didn't show, and before distributing the keyring to those who went. There are no options.

The raw mode passes options directly to gpg. Useful when adding keys by hand. Your options are added to those those necessary to work on the party keyring safely. (It does not load your personal keyring.) Your options must be passed after '--' to prevent pius-keyring-manager from interpreting them as its own.

Scan a CSV file and an MBOX for emails and write to anyone whose key was not found, using you@company.com as sender:

/usr/bin/pius-keyring-mgr build --csv-file /tmp/report --mbox-file
/tmp/mbox --mail you@company.com

Download a key and add it to the party keyring:

pius-keyring-mgr raw -r path/to/keyring.gpg -- --recv-key <keyid>

PIUS was written by Phil Dibowitz <phil@ipom.com>

This manual page was written by Felix Lechner <felix.lechner@gmail.com> for the Debian project, but may be used by others.

DECEMBER 2016