Skip to content

Commit

Permalink
Make object format, key format, and date-time subsections
Browse files Browse the repository at this point in the history
These all form part of the general principles of the pedagogical file
format, so move them to be one level heading lower.

Signed-off-by: Joshua Lock <[email protected]>
  • Loading branch information
joshuagl committed May 15, 2023
1 parent 665ef49 commit be8aa73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tuf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ http://wiki.laptop.org/go/Canonical_JSON).

## File formats: general principles ## {#file-formats-general-principles}

### Object format ### {#file-formats-object-format}

All signed metadata objects have the format:

<pre highlight="json">
Expand Down Expand Up @@ -545,7 +547,7 @@ All signed metadata objects have the format:
::
A hex-encoded signature of the canonical form of the metadata for <a for="role">ROLE</a>.

## File formats: keys ## {#file-formats-keys}
### Key objects ### {#file-formats-keys}

All <dfn>KEY</dfn> objects have the format:

Expand Down Expand Up @@ -655,7 +657,7 @@ The <dfn for="keytype">"ecdsa"</dfn> format is:
::
PEM format and a string.

## File formats: date-time ## {#file-formats-date-time}
### Date-time ### {#file-formats-date-time}

Metadata <dfn>date-time</dfn> follows the ISO 8601 standard. The expected
format of the combined date and time string is "YYYY-MM-DDTHH:MM:SSZ". Time is
Expand Down

0 comments on commit be8aa73

Please sign in to comment.