get the empty lines right this time, sorry for the mess before
[pgp-tools.git] / keylookup / keylookup.1
1 .TH keylookup 1 "" Aug-2005 ""
2 .\" manual page (c) 2000, 2001, 2002 Christian Kurz, Peter Palfrader
3 .\" $Id$
4 .SH NAME
5 .LP
6 keylookup \- Fetch and Import GnuPG keys from keyservers.
7 .SH SYNOPSIS
8 \fBkeylookup\fP [\fIoptions\fP] \fIsearch-string\fP
9 .SH DESCRIPTION
10 .LP
11 \fBkeylookup\fR is a wrapper around gpg --search, allowing you to search
12 for keys on a keyserver. It presents the list of matching keys to the user
13 and allows her to select the keys for importing into the GnuPG keyring.
14
15 For the search and actual import of keys GnuPG itself is called.
16 .SH OPTIONS
17 .IP "\fB--keyserver\fP=\fIkeyserver\fP" 8
18 Specify the keyserver to use. If no keyserver is specified, it
19 will parse the GnuPG options file for a default keyserver to use.
20 If no keyserver can be found, \fBkeylookup\fP will abort.
21 .IP "\fB--port\fP=\fIport\fP" 8
22 Use a port other than 11371.
23 .IP "\fB--frontend\fP=\fIfrontend\fP" 8
24 \fBkeylookup\fP supports displaying the search results with 3
25 different frondends. Both \fBwhiptail\fP and \fBdialog\fP are
26 interactive and allow the user to select the keys to import.
27 The third frontend \fBplain\fP is non\-interactive and just
28 prints the keys to STDOUT. The user must then call GnuPG him/herself.
29
30 If available, \fB/usr/bin/dialog\fP is the default. If it is not
31 available but \fB/usr/bin/whiptail\fP is installed, then this is
32 used instead. If nothing else works, we'll fall back to \fBplain\fP.
33 .IP "\fB--importall\fP" 8
34 Don't ask the user which keys to import, but instead import all
35 keys matching the \fIsearch-string\fP. If this is given no
36 frontend is needed.
37 .IP "\fB--honor-http-proxy\fP" 8
38 Similar to GnuP \fBkeylookup\fP will only honor the \fBhttp_proxy\fP
39 environment variable if this option is given. If it is not given
40 but your GnuPG options file includes it, then \fBkeylookup\fP will
41 use it.
42 .IP "\fB--help\fP" 8
43 Print a brief help message and exit succesfully.
44 .SH ENVIRONMENT
45 .IP "HOME" 10
46 Used to locate the default home directory.
47 .IP "GNUPGHOME" 10
48 If set directory used instead of "~/.gnupg".
49 .IP "http_proxy" 10
50 Only honored when the option --honor-http-proxy is set or honor-http-proxy is
51 set in GnuPG's config file.
52 .SH EXAMPLES
53 .IP "keylookup Christian Kurz"
54 will query your default keyserver for Christian's keys and offer you to
55 import them into your keyring with the dialog frontend (if available).
56 .IP "keylookup --honor-http-proxy --frontend plain wk@gnupg"
57 will query the default keyserver again, now using the http_proxy if
58 the environment variable is defined and list wk@gnupg's (Werner Koch)'s key
59 on STDOUT.
60 .IP "keylookup --keyserver pgp.mit.edu Peter Palfrader"
61 will now ask the keyserver pgp.mit.edu for my (Peter's) keys and
62 display them for import in dialog.
63 .SH FILES
64 .IP "~/.gnupg/options" 10
65 GnuPG's options file where \fBkeylookup\fP will take the keyserver
66 and honor-http-proxy values from if it exists.
67 .SH "SEE ALSO"
68 \fBgpg\fP(1)
69 .SH BUGS
70 .LP
71 Please report bugs using the Debian bug tracking system at
72 http://bugs.debian.org/.
73 .SH AUTHORS
74 .LP
75 Christian Kurz <shorty@debian.org>
76 .br
77 Peter Palfrader <peter@palfrader.org>