Bring manpages up to date.
[u/mdw/catacomb] / keyring.5
CommitLineData
d03ab969 1.\" -*-nroff-*-
2.TH keyring 5 "5 June 1999" Catacomb
3.SH NAME
4keyring \- description of Catacomb keyring files
5.SH DESCRIPTION
6Keyring files are line-oriented text files. It is recommended that
7programs use only the provided interface for reading and modifying
2d3bea94 8keyring files for consistency of locking and representation: this
d03ab969 9description is provided for the benefit of administrators attempting to
10understand or repair keyring files.
11.PP
12Lines containing only whitespace and lines whose first non-whitespace
13character is
14.RB ` # '
15are ignored, but are not written back to the file. Thus, the comment
16facility is not particularly useful.
17.PP
2d3bea94 18Each remaining line describes a key. Key descriptions consist of
19between 4 and six whitespace-separated fields. The final comment field
20may contain whitespace characters. The fields are, in order:
d03ab969 21.TP
22.B type
23The key's type string, set when the key was created.
24.TP
25.B "key data"
26The actual key, Base64 encoded, as described in RFC2045.
27.TP
28.B "expiry time"
c9e31e42 29The time at which this key expires, represented as an integer, in the
30format returned by the
31.BR time (2)
32system call.
d03ab969 33.TP
34.B "deletion time"
35The time at which this key should be deleted, using the same
36representation as the expiry time. The special value 0 signifies that
37the key should be deleted on expiry.
38.TP
39.B attributes
40The key's attributes, encoded using the `form-urlencoded' encoding
41defined in RFC1866. This field is optional: if it is omitted, the key
42has no attributes. Alternatively, if there are no attributes, this
43field may be given as a single dash
44.RB ` \- '.
45.TP
46.B comment
47The comment field. This field is optional. It may contain whitespace.
48It is deliberately not included as an attribute, since the urlencoded
49nature of attributes makes them hard to read when perusing a keyring
50file.
51.PP
52It is not envisaged that the file format will change in the future. Any
53extensions will be made by defining new attributes.
54.SH AUTHOR
55Mark Wooding, <mdw@nsict.org>