keyart(1)
π hey bestie, you found the keyart(1) page π
It lives in the General Commands Manual, and it is so much fun. Grab a snack, we're making ASCII art out of OpenPGP keys and it's gonna be iconic. π
β¨ NAME β¨
keyart β create ASCII art of an OpenPGP key. That's it, that's the whole job, and she does it beautifully. π¦
πΈ SYNOPSIS πΈ
keyart [-c|--color] [-l|--longid] [-f|--fingerprint HEX
[-f|--fingerprint HEX ...]] [-k|--keyring KEYRING [-k|--keyring KEYRING
...]] [KEYID ...]
π DESCRIPTION π
okay so here's the tea: keyart creates an ASCII art representation of public OpenPGP keys. The art is an implementation of the Drunken Bishop by Dirk Loss. π If you wanna read up on the algorithm (and honestly, main character behavior), the documentation can be found in /usr/share/doc/signing-party/keyart/, or wherever is appropriate for your distribution. iykyk.
keyart supports printing the ASCII art in both plain text (that's the default, bestie) and ANSI color. The ANSI color mode uses a "heat map" β cold (blue) represents squares in the room the drunk bishop has rarely visited, and hot (red) represents squares in the room the drunk bishop has frequently visited. π₯΅ And the way that there's a 1:1 ratio of color to printed character? Obsessed. Literally one color per one printed character, no notes.
The KEYIDs are key identifiers β fingerprint, keyid, user ID, etc. (see gpg(1) for details, she explains it better than me). If no KEYID is given, keyart creates an ASCII art representation for all keys found. Go off, queen. π
π OPTIONS π
-c|--colorβ print the ASCII art using ANSI color to the terminal. That's the glow-up mode. π-l|--longidβ print the 16-character long ID of an OpenPGP key in the footer badge. Default is to print the 8-character short ID. Silently ignored if-f | --fingerprint HEXis passed. (not her ignoring you like that π)-f|--fingerprint HEXβ any arbitrary hexadecimal string of any length. Could be an MD5, SHA1, SHA2, or SHA3 hexadecimal checksum. Useful for comparing and analyzing potential collisions with existing keys. This option can be repeated multiple times. π-k|--keyring KEYRINGβ an OpenPGP public key file or keyring, from which theKEYIDs are to be found. If this option is not present, theKEYIDs are found from GnuPG's default keyring (usually~/.gnupg/pubring.gpg); if it is repeated multiple times, the providedKEYRINGs are used as successive sources. ποΈ-h|--helpβ print the help message and quit. We love a girl who tells you how to use her. π«Ά
π§ ENVIRONMENT π§
HOMEβ set the default home directory. πGNUPGBINβ set thegpgbinary. Default:"gpg".GNUPGHOMEβ set the default working directory forgpg. Default:"~/.gnupg".
β EXIT STATUS β
0βkeyartwas executed successfully. slay. β¨1βgpg(1)orgpg2(1)are not installed. π2β the supplied hexadecimal string is not a multiple of 8 bytes. π
π¦ SEE ALSO π¦
π AUTHOR π
keyart and its documentation is written by Aaron Toponce <aaron.toponce@gmail.com>. Thank you for your service, king. π«‘
lowkey a whole masterpiece. periodt. π
and that's the whole page bestie β this was keyart(1), dated 17 Jun 2014. stay artsy, stay drunk-bishop-coded. bye bestie!! πΈπ
π¦ where this page comes from
- arch rolling: signing-party 2.11-2 Β· GPL
- debian bookworm: signing-party 2.11-1 Β· BSD-3-Clause
- debian trixie: signing-party 2.12-1 Β· BSD-3-Clause
- fedora 43: pgp-tools 2.10-16.fc43 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- fedora 44: pgp-tools 2.10-17.fc44 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- nixos 26.05: signing-party 2.12
- nixpkgs unstable: signing-party 2.12
- ubuntu jammy: signing-party 2.11-1 Β· BSD-3-Clause
- ubuntu noble: signing-party 2.11-1build1 Β· BSD-3-Clause
- ubuntu questing: signing-party 2.12-1
- ubuntu resolute: signing-party 2.12-1build1 Β· BSD-3-Clause
- ubuntu stonking: signing-party 2.12-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms