Log-list format
This document describes a line-terminated log-list format. Blank lines are
ignored. Lines starting with # denote comments and are also ignored.
Non-empty lines have all leading and trailing whitespace removed before processing.
Example
#
# List: 10qps-100klogs
# Revision: 123
# Generated: YYYY-MM-DD HH:MM:SS UTC
# Other undefined debug information.
#
logs/v0
# 1st list item -- foo's log
vkey tlog.foo.org+aaaaaa+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
qpd 86400
contact https://tlog.foo.org/contact
# 2nd list item -- bar's log
vkey bar.org/tlog+bbbbbbbb+BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
origin something-not-equal-to-vkey-keyname
qpd 24
contact sysadmin (at) bar.org
Header
The list starts with a single line declaring the list format.
logs/v0
Zero or more logs follow after the logs/v0 line.
List of logs
A log is defined by the below key-value lines. The order of key-value lines are strict. Lines that are optional are denoted by square brackets.
vkey VKEY
[origin ORIGIN]
qpd QPD
contact CONTACT
VKEY is the log’s verification key in vkey format, see
https://github.com/C2SP/C2SP/pull/119/files.
Currently, only ed25519 alg1 type keys are permitted.
ORIGIN the log’s origin line, see
https://C2SP.org/tlog-checkpoint#note-text. If omitted, the log’s origin line
defaults to the vkey key-name. This is recommended for newly deployed logs.
QPD is the number of add-checkpoint requests the log may do per day.
It MUST be a number in the range [1, 2^31) encoded as an ASCII decimal consisting of characters in the range 0-9 only, with no leading zeroes.
CONTACT is an arbitrary string useful for humans to reach the log operator.
Repeat the above lines to define one more log.