1 .\" $NetBSD: hkpc.1,v 1.3 2014/02/17 07:23:18 agc Exp $
3 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This manual page is derived from software contributed to
7 .\" The NetBSD Foundation by Alistair Crooks (agc@NetBSD.org).
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd retrieve public key information via HKP
38 .Op Fl f address-family
41 .Cm [get|index|vindex]
46 command retrieves public key information from the key server daemon
47 using the HKP protocol.
50 is normally used to retrieve public key information.
52 Three types of information can be retrieved from the server:
53 .Bl -tag -width vindex
55 The public key, base64-encoded, corresponding to the given userid
57 The userid can be a numeric value, a unique part of the human
58 identifier, or left blank.
59 The first matching key will be returned, in a format suitable for
60 importing to a keyring via the
64 the information returned from this command is the same as
71 the information returned from this command is the same as
79 For this utility to provide the correct results, an hkpd
80 server must be listening using the correct protocol family,
81 on the provided port on the appropriate server.
82 The default port for the HKP server is
84 whilst the hostname defaults to
89 suite of libraries and commands provides a convenient client in
92 The information is sent to the server in the form of
95 command, and is returned as a JSON-encoded
98 is used to decode the JSON in the returned HKP packet.
102 utility will return 0 for success,
104 Output will be printed on stdout.
121 .%T OpenPGP Message Format
126 command first appeared in
129 .An Alistair Crooks Aq Mt agc@NetBSD.org .