From 175467c17453162ed4b20283b51a00afce59c0a0 Mon Sep 17 00:00:00 2001 From: Lukas Puehringer Date: Thu, 17 Oct 2019 15:22:10 +0200 Subject: [PATCH] Adopt semver for "spec_version" in sample metadata theupdateframework/specification#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. --- tuf-spec.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tuf-spec.md b/tuf-spec.md index 0468515..df27c55 100644 --- a/tuf-spec.md +++ b/tuf-spec.md @@ -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": { @@ -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": { @@ -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": { @@ -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": {