keylookup(1)
π keylookup β the manual, bestie edition π
okay so this is the manual page for keylookup(1), and I'm gonna walk you through it like we're texting at 2am, because honestly? this tool deserves main character energy. π«Ά
β¨ NAME β¨
keylookup β go fetch GnuPG keys from keyservers and import them. that's the whole vibe. π
πΈ SYNOPSIS πΈ
keylookup [options] search-string
π¦ DESCRIPTION π¦
So keylookup is basically a little wrapper around gpg --search, right? It lets you search for keys on a keyserver. π
Then β and this is the cute part β it shows you the list of matching keys, and lets her (yes, the user, that's you bestie) pick which keys get imported into the GnuPG keyring. π
And like, for the actual searching and the actual importing? GnuPG itself is the one doing the work. keylookup is just the pretty face out front. π
π OPTIONS π
--keyserver=keyserverβ tell it which keyserver to use. If you don't specify one, it'll go dig through the GnuPG options file looking for a default keyserver to use. And if it can't find one at all?keylookupaborts. no keyserver, no service. π--port=portβ use a port that isn't11371. that's it, that's the option.--frontend=frontendβ okay sokeylookupcan display your search results with 3 different frontends (the original says "frondends" which is sending me π). Bothwhiptailanddialogare interactive and let you actually pick which keys to import. The third one,plain, is non-interactive and just prints the keys toSTDOUTβ and then you have to call GnuPG yourself, bestie, no one's holding your hand. β¨
If it's available, /usr/bin/dialog is the default. If it's not available but /usr/bin/whiptail is installed, then that's what gets used instead. And if nothing else works, we fall back to plain. resilient queen. π
--importallβ skip the whole "which keys do you want" conversation and just import all the keys matching the search-string. When you use this, no frontend is needed at all. efficiency. β--honor-http-proxyβ just like GnuPG,keylookupwill only honor thehttp_proxyenvironment variable if you actually pass this option. If you don't pass it, but your GnuPG options file includes it, thenkeylookupwill use it. π--helpβ print a brief help message and exit successfully. a little treat. π
π ENVIRONMENT π
HOMEβ used to locate the default home directory.GNUPGHOMEβ if it's set, this directory is used instead of"~/.gnupg".GNUPGBINβ if it's set, it's used as the gpg binary instead ofgpg.http_proxyβ only honored when the option--honor-http-proxyis set, or whenhonor-http-proxyis set in GnuPG's config file. no sneaky proxies otherwise. π
π EXAMPLES π
keylookup Christian Kurz
will query your default keyserver for Christian's keys and offer you to import them into your keyring with the dialog frontend (if available).
keylookup --honor-http-proxy --frontend plain wk@gnupg
will query the default keyserver again, now using the http_proxy if the environment variable is defined, and list wk@gnupg's (Werner Koch)'s key on STDOUT.
keylookup --keyserver pgp.mit.edu Peter Palfrader
will now ask the keyserver pgp.mit.edu for my (Peter's) keys and display them for import in dialog.
π§ FILES π§
~/.gnupg/optionsβ GnuPG's options file, wherekeylookupwill take the keyserver andhonor-http-proxyvalues from, if it exists.
β SEE ALSO β
π₯ BUGS π₯
Please report bugs using the Debian bug tracking system at https://bugs.debian.org/. do it, it's giving responsible citizen. π«Ά
π AUTHORS π
- Christian Kurz
<shorty@debian.org> - Peter Palfrader
<peter@palfrader.org>
and that's the whole page bestie, no cap, every last flag accounted for. πβ¨
okay so this little keylookup(1) page is dated Jun-2002, and it lives in the keylookup(1) manual β that's the source and version, right there, and it's iconic for a page this old to still be this useful. slay. π
π
π¦ 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
- (c) 2000, 2001, 2002 Christian Kurz, Peter Palfrader
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms