GPG-KEY2PS(1)

πŸŽ€ GPG-KEY2PS β€” the girlies' guide to printing fingerprints

okay so bestie, welcome to gpg-key2ps(1) from the User Contributed Perl Documentation section. she's a little Perl script with big keysigning-party energy, and honestly? iconic. πŸ’–


✨ NAME ✨

gpg-key2ps β€” generates a PS file from a GnuPG keyring πŸ–¨οΈβœ¨


🌸 SYNOPSIS 🌸

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

πŸ’… DESCRIPTION πŸ’…

so basically, gpg-key2ps generates a PostScript file with your OpenPGP key fingerprint on it, repeated as many times as it fits β€” which is exactly what you want for keysigning parties πŸŽ‰. the only argument is the same thing you'd pass to GPG's list-keys command, so either a key-id or a (partial) name. the PS data goes to stdout, no cap. 🫢


πŸ”₯ OPTIONS πŸ”₯

  • -p, --paper-size paper-size β€” pick your output paper size! the default is to peek into /etc/papersize, or A4 if libpaper isn't installed. πŸ“„
  • -s, --show-subkeys β€” turns on subkey info so it gets printed on the slips. ngl, subkey info is normally not relevant to the key signing process, so it's off unless you ask. πŸ™ˆ
  • -r, --revoked-style revoked-style β€” how do we mark revoked UIDs and subkeys? five styles, bestie:
    • hide β€” don't show at all (this is the 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. lowkey a lifesaver for keys with long UIDs that otherwise won't fit. πŸ“
  • keyid β€” the keyids to print. multiple can be separated by spaces. πŸ‘‘
  • -h, --help β€” print usage and exit. classic.
  • -v, --version β€” print version and exit. slay.

🌈 ENVIRONMENT 🌈

  • HOME β€” the default home directory. 🏠
  • GNUPGBIN β€” the gpg binary. Default: "gpg".
  • GNUPGHOME β€” the default working directory for gpg. Default: "$HOME/.gnupg". πŸ—‚οΈ

πŸ‘‘ SEE ALSO πŸ‘‘

  • gpg(1) β€” GNU Privacy Guard. the main character, fr.
  • gpg-key2latex(1) β€” like gpg-key2ps, but produces LaTeX output instead. same vibe, different font. ✨
  • https://www.debian.org/events/materials/business-cards/ β€” gpg-key2ps prints plain fingerprint slips. if you're looking for something more stylish, go look at these latex templates for business cards that also include fingerprints. it's giving glow-up. πŸ’…

  • (c) 2001-2005 Simon Richter <sjr@debian.org>
  • (c) 2005-2008 Thijs Kinkhorst <thijs@kinkhorst.com>
  • (c) 2005-2008 Christoph Berg <cb@df7cb.de>

okay that's the whole page, bestie, nothing skipped, every flag accounted for 🫢 go print some fingerprints and have the cutest keysigning party ever. πŸŽ€

made by perl v5.40.1, dated 2026-02-09 β€” and that's on periodt. πŸ’œ

πŸ“¦ where this page comes from