ONAK(1)
π ONAK(1) π
ok so bestie, welcome to onak β an OpenPGP compatible keyserver. it lives in the General Commands Manual (section 1, obviously) and it's literally here to hold everybody's PGP keys for you. no cap.
β¨ SYNOPSIS β¨
onak [ options ] command [ parameters ]
like, you give it some options, you tell it which command you want, and sometimes you hand it parameters too. that's the whole vibe.
πΈ DESCRIPTION πΈ
bestie. it does various keyserver actions. that's it, that's the description. it's giving mysterious, it's giving minimal, and honestly? we respect it.
π Options
these are the lil flags that change how onak behaves. learn them, love them.
-bβ treat the keys coming in on stdin as binary instead of ASCII armoured. so if it's raw bytes and not cute-----BEGIN PGP...text, this is your girl.-c_FILE_ β use _FILE_ as the config file instead of the default one. your config, your rules, periodt.-fβ display fingerprints when listing keys. so you can see exactly whose key is whose, iykyk.-uβ update keys, and output the changes on stdout. changes go bye-bye to stdout, not into the void.-vβ verbose! crank that loglevel up. stack it if you want, the more the louder. π₯
π¦ Commands
the main character options, fr fr. pick one.
addβ read OpenPGP keys from stdin and add them to the keyserver database. welcome to the party, keys. π«Άcleanβ read OpenPGP keys from stdin, run the key cleaning routines against them, and dump the result to stdout. glow-up in, glow-up out. β¨dumpconfigβ dump the running config in the new.iniformat to stdout, or to the file you provided. it's literally here to help you migrate from the old style configuration files β onak can read and parse the old style file, and this command will output the equivalent new style configuration. the way that it's just doing your homework for you πdeleteβ delete a given key from the keyserver. bye bestie, we won't miss you πdumpβ dump all the keys from the keyserver. every single one. no survivors.getβ retrieves the requested key from the keyserver.getphotoβ retrieves the first photoid on the requested key and dumps it to stdout. yeah, keys have selfies. iconic behavior honestly. πΈindexβ search for a key and list it.vindexβ search for a key and list it and its signatures. extra detail, extra slay.
π EXAMPLES π
ok here's how you actually use it, bestie:
onak index noodles
list all keys in the keyserver that contain the word noodles. yes really. go find noodles. π
onak clean < dirty.key > clean.key
clean up one or more PGP keys. currently this will just dedupe UIDs β that's the whole glow-up, don't expect more.
gpg --export | onak -b add
export all keys on your gnupg keyring and import them into the keyserver. look at you, migrating like a pro. π
π FILES π
/etc/onak.iniβ the default configuration file. that's where it lives, that's its home. π
π NOTES π
this man page could probably do with some more details.
not me reading that and going π β the man page is self-aware. it's honest. it's humble. we love it for that.
π AUTHOR π
onak was written by Jonathan McDowell <noodles@earth.li>. it can be found at http://www.earth.li/projectpurple/progs/onak.html
ok that's the whole page, bestie!! this one's from the General Commands Manual, section 1 β that's the <rainbow>ONAK(1)</rainbow> energy right there. go forth and keyserver responsibly. mwah. πβ¨π
π¦ where this page comes from
- debian bookworm: onak 0.6.2-1
- debian trixie: onak 0.6.3-1+b2
- ubuntu jammy: onak 0.6.1-1
- ubuntu noble: onak 0.6.3-1build3
- ubuntu questing: onak 0.6.4-1
- ubuntu resolute: onak 0.6.4-1build1 Β· GPL-2.0-only
- ubuntu stonking: onak 0.6.5-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms