3 .\" Manual for the key-management configuration files
5 .\" (c) 2008 Straylight/Edgeware
8 .\"----- Licensing notice ---------------------------------------------------
10 .\" This file is part of Trivial IP Encryption (TrIPE).
12 .\" TrIPE is free software; you can redistribute it and/or modify
13 .\" it under the terms of the GNU General Public License as published by
14 .\" the Free Software Foundation; either version 2 of the License, or
15 .\" (at your option) any later version.
17 .\" TrIPE is distributed in the hope that it will be useful,
18 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
19 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 .\" GNU General Public License for more details.
22 .\" You should have received a copy of the GNU General Public License
23 .\" along with TrIPE; if not, write to the Free Software Foundation,
24 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 .\"--------------------------------------------------------------------------
27 .so ../defs.man.in \" @@@PRE@@@
29 .\"--------------------------------------------------------------------------
30 .TH tripe-keys.conf 5 "14 September 2005" "Straylight/Edgeware" "TrIPE: Trivial IP Encryption"
32 .\"--------------------------------------------------------------------------
35 tripe-keys.conf \- configuration file format for tripe-keys
37 .\"--------------------------------------------------------------------------
44 file is a simple line-based configuration file read by
46 Lines may be empty (consist only of whitespace), be comments (first
47 non-whitespace character is
57 consists of alphanumeric characters and hyphens. Values may contain
58 substitutions, of the form
60 which are replaced by the value assigned to
64 have significance to the
66 program: these are described below. Many have sensible defaults.
67 .SS "The tripe-keys.master file"
68 The client configuration file is built by applying substitutions to the
70 file. The following tokens are substituted:
73 The sequence number of the most recently-added signing key.
76 The fingerprint of the signing key identified by
77 .BR @MASTER-SEQUENCE@ .
78 .SS "Master repository parameters"
81 The base URL of the key repository (usually with a trailing
83 Typically, this will be something like
84 .RB http://www.distorted.org.uk/vpn/ .
88 The basename for the repository archive. Default is
89 .BR tripe-keys.tar.gz .
92 The basename template for repository signatures. Default is
93 .BR tripe-keys.sig-<SEQ> .
96 portion, if any, is replaced by the sequence number of the key which
100 The URL for the key repository tarball. Default is the concatenation of
106 The URL template for key repository signatures. Default is the
113 The sequence number of the master authority's current signing key. No
114 default. Usually set up automatically.
116 .I master-keygen-flags
117 Additional options for generating master keys. Default is
121 The fingerprint of the current master signing key. No default. Usually
122 set up automatically.
125 A shell command to run by
127 after it has successfully written the
132 .B ": run upload hook"
134 .SS "Crypto parameters"
137 Key-exchange algorithm to use. Either
139 (integer Diffie-Hellman)
142 (elliptic curves). The default is
148 when generating the parameters key. Default depends on
158 dh \-LS \-b2048 \-B256
164 Expiry time for generated keys. Default is
168 Hashing algorithm to use. Default is
172 Message authentication algorithm to use. Default is
173 .IB hash -hmac/ halfhashlen \fR,
181 Mask-generation algorithm to use. Default is
183 This is probably a good choice.
186 Symmetric encryption scheme to use. Default is
190 Signature scheme to use. Must be one of those recognized by
206 Key-generation algorithm for signing key. Default depends on
226 Signature-key generation parameters. Default depends on
236 dh \-LS \-b2048 \-B256
244 Hash function to use for making signatures. Default is
248 Oldest time we should consider a signed archive to be fresh. Default is
250 meaning that all signatures are fresh.
253 Expiry time for master signing key. Default is
257 Hash function to use for key fingerprinting. Default is
259 .SS "Master maintenance parameters"
262 Local base directory for the repository files. This probably ought to
265 character. No default.
268 Filename for local repository tarball. Default is the concatenation of
274 Tempalte for repository signatures. Default is the concatenation of
280 Filename for local repository configuration file. Default is
281 .IB basedir /tripe-keys.conf \fR.
283 .\"--------------------------------------------------------------------------
289 .\"--------------------------------------------------------------------------
292 Mark Wooding, <mdw@distorted.org.uk>
294 .\"----- That's all, folks --------------------------------------------------