gpg-key2ps(1)

gpg-key2ps1

Generates a ps file from a gnupg keyring

Usage

gpg-key2ps [-r revoked-style] [-p papersize] [-1] [-s] keyid-or-name []

Overview

gpg-key2ps generates a PostScript file with your OpenPGP key fingerprint (repeated as often as it fits) useful for keysigning parties. The only argument is the same as you would pass to GPG's list-keys command, either a key-id or a (partial) name. The PS data is written to stdout.

Options

-p --paper-size paper-size

Select the output paper size. Default is to look into /etc/papersize or A4 if libpaper isn't installed.

-s --show-subkeys

Enable subkey information to be printed on the slips. Subkey information is normally not relevant to the key signing process.

-r --revoked-style revoked-style

Select how to mark revoked UIDs and subkeys. Five styles are available:
hide don't show at all (default),
show show normally,
grey display in 50% grey,
note add "[revoked]", and
strike strike through.

-1

Print only one column of paper slips instead of the default two. Useful for keys with long UIDs that otherwise won't fit.

keyid

Keyids to print. Multiple can be separated by spaces.

-h --help

Print usage and exit.

-v --version

Print version and exit.

Environment

HOME

The default home directory.

GNUPGBIN

The gpg binary. Default: "gpg".

GNUPGHOME

The default working directory for gpg. Default: "$HOME/.gnupg".

Releases

13 releases since Debian 3.0 (Woody); the text changed 11 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11–12
  11. 13
  12. Arch

--help since Debian 4.0 (Etch); --paper-size since Debian 4.0 (Etch); --revoked-style since Debian 4.0 (Etch); --show-subkeys since Debian 6.0 (Squeeze); --version since Debian 4.0 (Etch); -1 since Debian 6.0 (Squeeze); -h since Debian 4.0 (Etch); -r since Debian 3.1 (Sarge); -s since Debian 6.0 (Squeeze); -v since Debian 4.0 (Etch).

From signing-party 2.11-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.