|
| 1 | +.TH PIUS\-KEYRING\-MGR 1 "DECEMBER 2016" |
| 2 | +.SH NAME |
| 3 | +pius\-keyring\-mgr \- PIUS (PGP Individual UID Signer) Keyring Manager |
| 4 | +.SH SYNOPSIS |
| 5 | +.B pius\-keyring\-mgr |
| 6 | +.RI < mode > |
| 7 | +.RI [ options ] |
| 8 | +.SH DESCRIPTION |
| 9 | +.B pius\-keyring\-mgr |
| 10 | +has several modes to manage keyrings. It was designed for signing |
| 11 | +parties, but can be used for any PGP keyring. The \fImode\fP |
| 12 | +must be the first argument, with options as explained below. |
| 13 | +.SH OPTIONS |
| 14 | +.IP "\fB\-d\fP, \fB\-\-debug\fP" |
| 15 | +Enable debugging output. |
| 16 | +.IP "\fB\-g\fP \fIPATH\fP, \fB\-\-gpg\-path=\fP\fIPATH\fP" |
| 17 | +Path to gpg binary. [default: \fI/usr/bin/gpg2\fP] |
| 18 | +.IP "\fB\-r\fP \fIKEYRING\fP, \fB\-\-keyring=\fP\fIKEYRING\fP" |
| 19 | +Use this keyring. |
| 20 | +.IP "\fB\-v\fP, \fB\-\-verbose\fP" |
| 21 | +Print summaries. |
| 22 | +.SH MODES |
| 23 | +The \fBbuild\fP mode is used most of the time. It can parse a CSV file, |
| 24 | +automatically look for keys, and email anyone whose key was not |
| 25 | +be found. This mode can also import keys from an mbox file. The options are: |
| 26 | +.IP "\fB\-b\fP \fIMBOX\-FILE\fP, \fB\-\-mbox\-file=\fP\fIMBOX\-FILE\fP" |
| 27 | +Parse \fIMBOX\-FILE\fP and examine each message for PGP fingerprints |
| 28 | +or ascii-armored keys. Decodes messages as necessary. |
| 29 | +.IP "\fB\-c\fP \fICSV\-FILE\fP, \fB\-\-csv\-file=\fP\fICSV\-FILE\fP" |
| 30 | +Parse \fIMBOX\-FILE\fP and import keys. You will almost certainly also |
| 31 | +want -D, -E, -F and -N. |
| 32 | +.IP "\fB\-D\fP \fIDELIMITER\fP, \fB\-\-delimiter=\fP\fIDELIMITER\fP" |
| 33 | +Field delimiter to use when parsing CSV. Only meaningful with -c. |
| 34 | +[default: ','] |
| 35 | +.IP "\fB\-E\fP \fIEMAIL\-COLUMN\fP, \fB\-\-email\-field=\fP\fIEMAIL\-COLUMN\fP" |
| 36 | +Column number with the email address in the CSV file. Only meaningful with -c. |
| 37 | +[default: 3] |
| 38 | +.IP "\fB\-F\fP \fIFINGERPRINT\-COLUMN\fP, \fB\-\-fp\-field=\fP\fIFINGERPRINT\-COLUMN\fP" |
| 39 | +Column number with the GPG fingerprint in the CSV file. Only meaningful with -c. |
| 40 | +[default: 4] |
| 41 | +.IP "\fB\-m\fP \fIFROM\-EMAIL\fP, \fB\-\-mail=\fP\fIFROM\-EMAIL\fP" |
| 42 | +Email people whose keys were not located, using \fIFROM\-EMAIL\fP as sender. |
| 43 | +.IP "\fB\-M\fP \fIFILE\fP, \fB\-\-mail\-text=\fP\fIFILE\fP" |
| 44 | +Use the text in FILE as the body of email when sending emails instead |
| 45 | +of the default text. To see the default text use --print-default-email. |
| 46 | +Requires -m. |
| 47 | +.IP "\fB\-N\fP \fINAME\-COLUMN\fP, \fB\-\-name\-field=\fP\fINAME\-COLUMN\fP" |
| 48 | +Column number with the name in the CSV file. |
| 49 | +Only meaningful with -c. [default: 2] |
| 50 | +.IP "\fB\-n\fP \fITO\-EMAIL\fP, \fB\-\-override\-email=\fP\fITO\-EMAIL\fP" |
| 51 | +Rather than send to the user, send to this address. Mostly useful for debugging. |
| 52 | +.IP "\fB\-p\fP \fIPARTY-NAME\fP, \fB\-\-party=\fP\fIPARTY-NAME\fP" |
| 53 | +The name of the party. Will be printed in the email sent out. |
| 54 | +Only useful with -m. |
| 55 | +.IP "\fB\-s\fP \fIKEY\-SERVER\fP, \fB\-\-keyservers=\fP\fIKEY\-SERVER\fP" |
| 56 | +Try this keyserver. Specify once for each server (-s foo -s bar). |
| 57 | +[default: pool.sks-keyservers.net, pgp.mit.edu, keys.gnupg.net] |
| 58 | +.IP "\fB\-t\fP \fITEMP\-DIR\fP, \fB\-\-tmp\-dir=\fP\fITEMP\-DIR\fP" |
| 59 | +Directory to put temporary stuff in. [default: \fI/tmp/pius_keyring_mgr_tmp\fP] |
| 60 | +.IP "\fB\-T\fP, \fB\-\-print\-default\-email\fP" |
| 61 | +Print the default email. |
| 62 | +.IP "\fB\-\-ignore-emails=\fP\fIIGNORE\-EMAILS\fP" |
| 63 | +Comma-separated list of emails to ignore (no spaces). |
| 64 | +.IP "\fB\-\-ignore-fingerprints=\fP\fIIGNORE-FINGERPRINTS\fP" |
| 65 | +Comma-separated list of PGP fingerprints to ignore (no spaces). |
| 66 | +.PP |
| 67 | +The \fBprune\fP mode opens a keyring and, for each key, asks to remove it. |
| 68 | +Useful after a party to trim a keyring of people who didn't show, and |
| 69 | +before distributing the keyring to those who went. There are no options. |
| 70 | +.PP |
| 71 | +The \fBraw\fP mode passes options directly to gpg. Useful when adding |
| 72 | +keys by hand. Your options are added to those those necessary to work |
| 73 | +on the party keyring safely. (It does not load your personal keyring.) |
| 74 | +Your options must be passed after '\-\-' to prevent |
| 75 | +pius\-keyring\-manager from interpreting them as its own. |
| 76 | +.SH EXAMPLES |
| 77 | +Scan a CSV file and an MBOX for emails and write to anyone whose key was not |
| 78 | +found, using [email protected] as sender: |
| 79 | +.PP |
| 80 | +.nf |
| 81 | +/usr/bin/pius\-keyring\-mgr build \-\-csv\-file /tmp/report \-\-mbox\-file |
| 82 | +/tmp/mbox \-\-mail [email protected] |
| 83 | +.fi |
| 84 | +.PP |
| 85 | +Download a key and add it to the party keyring: |
| 86 | +.PP |
| 87 | +.nf |
| 88 | +pius\-keyring\-mgr raw \-r path/to/keyring.gpg \-\- \-\-recv\-key <keyid> |
| 89 | +.fi |
| 90 | +.SH AUTHOR |
| 91 | +PIUS was written by Phil Dibowitz < [email protected]> |
| 92 | +.PP |
| 93 | +This manual page was written by Felix Lechner < [email protected]> |
| 94 | +for the Debian project, but may be used by others. |
0 commit comments