Skip to content

Commit

Permalink
Adopt semver for "spec_version" in sample metadata
Browse files Browse the repository at this point in the history
theupdateframework#51 updates the format of the
"spec_version" field in any tuf metadata to strictly require a
string that conforms to the Semantic Versioning 2.0.0 standard.

This commit updates the metadata examples in the specification
accordingly.
  • Loading branch information
lukpueh committed Oct 17, 2019
1 parent 1da6ead commit 175467c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tuf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ repo](https://github.com/theupdateframework/specification/issues).
],
"signed": {
"_type": "root",
"spec_version": "1",
"spec_version": "1.0.0",
"consistent_snapshot": false,
"expires": "2030-01-01T00:00:00Z",
"keys": {
Expand Down Expand Up @@ -749,7 +749,7 @@ repo](https://github.com/theupdateframework/specification/issues).
],
"signed": {
"_type": "snapshot",
"spec_version": "1",
"spec_version": "1.0.0",
"expires": "2030-01-01T00:00:00Z",
"meta": {
"root.json": {
Expand Down Expand Up @@ -889,7 +889,7 @@ repo](https://github.com/theupdateframework/specification/issues).
],
"signed": {
"_type": "targets",
"spec_version": "1",
"spec_version": "1.0.0",
"delegations": {
"keys": {
"f761033eb880143c52358d941d987ca5577675090e2215e856ba0099bc0ce4f6": {
Expand Down Expand Up @@ -967,7 +967,7 @@ repo](https://github.com/theupdateframework/specification/issues).
],
"signed": {
"_type": "timestamp",
"spec_version": "1",
"spec_version": "1.0.0",
"expires": "2030-01-01T00:00:00Z",
"meta": {
"snapshot.json": {
Expand Down

0 comments on commit 175467c

Please sign in to comment.