keyanalyze(1)

πŸ’… keyanalyze β€” the manual page, but make it make sense

okay so bestie, gather round, because we're talking about keyanalyze, straight out of the General Commands Manual (section 1, the cool section). this is the one that does the whole Web of Trust analysis thing. no cap.


✨ NAME ✨

keyanalyze β€” Web of Trust analysis πŸ•ΈοΈπŸ’–


🌸 SYNTAX 🌸

keyanalyze [ -h1 ] [ -i infile ] [ -o outdir ]

like, that's it. that's the whole summoning ritual. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: keyanalyze analyses the web of trust within a group of keys. it doesn't read raw keyrings like some feral gremlin β€” it takes preprocessed keys as its input (peep process_keys(1) for that part πŸ‘€), and then it produces an output directory absolutely stuffed with statistics about the keys. it's giving data girlie. it's giving spreadsheets but make it cryptography. πŸ“Šβœ¨

usually you call it like this, and yes you have to do both lines, don't skip the first one:

$ pgpring -S -k ./keyring.gpg | process_keys > preprocess.keys
$ keyanalyze

literally iconic pipeline behaviour. the pipe goes brrr. 🫢


πŸ’– OPTIONS πŸ’–

  • -i infile β€” read from infile instead of the default preprocess.keys. basically "i brought my own snack" energy. πŸ“
  • -o outdir β€” put the results in outdir instead of output/. and listen, the directory will be created if it does not already exist, so don't stress, it's got you. ✨
  • -h β€” print help. the classic. the "help me bestie" button. πŸ™ˆ
  • -1 β€” okay so by default, keyanalyze writes its output into subdirectories named after the first two characters of the key ID. this option disables that behaviour. it's useful for small keyrings, so if your keyring is tiny, this is your moment. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

the absolute legends who made this happen, in the order the page lists them:

  • M. Drew Streib <dtype@dtype.org>,
  • Thomas Roessler <roessler@does-not-exist.org>,
  • Hal J. Burch <hburch@halport.lumeta.com>,
  • Matt Kraai <kraai@alumni.carnegiemellon.edu>,
  • Steve Langasek <vorlon@netexpress.net>,
  • Matthew Wilcox <matthew@wil.cx>

and that's the whole page, bestie. it's a section 1 General Commands Manual situation, and the footer is just the humble little keyanalyze(1) tag waving goodbye at the bottom β€” no version number, no date, just vibes and a name. πŸ’œπŸ¦‹ go analyse that web of trust, you main character. periodt. ⭐