From 98f337e10ef407774804764bb19ad7debe0d84bc Mon Sep 17 00:00:00 2001 From: Appu Date: Wed, 6 Mar 2024 13:02:47 -0500 Subject: [PATCH] Update sigstore_rekor.proto (#247) Remove timestamp from checkpoint docs. Signed-off-by: Appu Co-authored-by: Hayden B --- gen/jsonschema/schemas/Bundle.schema.json | 2 +- gen/jsonschema/schemas/Checkpoint.schema.json | 2 +- .../schemas/InclusionProof.schema.json | 2 +- gen/jsonschema/schemas/Input.schema.json | 2 +- .../schemas/TransparencyLogEntry.schema.json | 2 +- .../schemas/VerificationMaterial.schema.json | 2 +- gen/pb-go/rekor/v1/sigstore_rekor.pb.go | 9 ++++----- .../dev/sigstore/rekor/v1/__init__.py | 16 ++++++++-------- .../src/generated/dev.sigstore.rekor.v1.rs | 9 ++++----- .../src/generated/file_descriptor_set.bin | Bin 113715 -> 113737 bytes .../src/__generated__/sigstore_rekor.ts | 9 ++++----- protos/sigstore_rekor.proto | 9 ++++----- 12 files changed, 30 insertions(+), 34 deletions(-) diff --git a/gen/jsonschema/schemas/Bundle.schema.json b/gen/jsonschema/schemas/Bundle.schema.json index 4391b2c0..e35435f0 100644 --- a/gen/jsonschema/schemas/Bundle.schema.json +++ b/gen/jsonschema/schemas/Bundle.schema.json @@ -229,7 +229,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." }, "dev.sigstore.rekor.v1.InclusionPromise": { "properties": { diff --git a/gen/jsonschema/schemas/Checkpoint.schema.json b/gen/jsonschema/schemas/Checkpoint.schema.json index e2180700..05264683 100644 --- a/gen/jsonschema/schemas/Checkpoint.schema.json +++ b/gen/jsonschema/schemas/Checkpoint.schema.json @@ -11,7 +11,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." } } } \ No newline at end of file diff --git a/gen/jsonschema/schemas/InclusionProof.schema.json b/gen/jsonschema/schemas/InclusionProof.schema.json index ff26b70b..8c1d1242 100644 --- a/gen/jsonschema/schemas/InclusionProof.schema.json +++ b/gen/jsonschema/schemas/InclusionProof.schema.json @@ -47,7 +47,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." } } } \ No newline at end of file diff --git a/gen/jsonschema/schemas/Input.schema.json b/gen/jsonschema/schemas/Input.schema.json index 2fefe663..7805695a 100644 --- a/gen/jsonschema/schemas/Input.schema.json +++ b/gen/jsonschema/schemas/Input.schema.json @@ -422,7 +422,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." }, "dev.sigstore.rekor.v1.InclusionPromise": { "properties": { diff --git a/gen/jsonschema/schemas/TransparencyLogEntry.schema.json b/gen/jsonschema/schemas/TransparencyLogEntry.schema.json index 19e9b83b..29e89e3b 100644 --- a/gen/jsonschema/schemas/TransparencyLogEntry.schema.json +++ b/gen/jsonschema/schemas/TransparencyLogEntry.schema.json @@ -67,7 +67,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." }, "dev.sigstore.rekor.v1.InclusionPromise": { "properties": { diff --git a/gen/jsonschema/schemas/VerificationMaterial.schema.json b/gen/jsonschema/schemas/VerificationMaterial.schema.json index 6120e4b8..e076fd2c 100644 --- a/gen/jsonschema/schemas/VerificationMaterial.schema.json +++ b/gen/jsonschema/schemas/VerificationMaterial.schema.json @@ -146,7 +146,7 @@ "additionalProperties": false, "type": "object", "title": "Checkpoint", - "description": "The checkpoint contains a signature of the tree head (root hash), size of the tree, the transparency log's unique identifier (log ID), hostname and the current time. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." + "description": "The checkpoint MUST contain a signature of the tree head (root hash), size of the tree and the transparency log's unique identifier (log ID). It MAY also be followed by any optional data. The result is a string, the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the same format as InclusionPromise.signed_entry_timestamp. See below for more details." }, "dev.sigstore.rekor.v1.InclusionPromise": { "properties": { diff --git a/gen/pb-go/rekor/v1/sigstore_rekor.pb.go b/gen/pb-go/rekor/v1/sigstore_rekor.pb.go index ff251aa1..a385e9fd 100644 --- a/gen/pb-go/rekor/v1/sigstore_rekor.pb.go +++ b/gen/pb-go/rekor/v1/sigstore_rekor.pb.go @@ -95,11 +95,10 @@ func (x *KindVersion) GetVersion() string { return "" } -// The checkpoint contains a signature of the tree head (root hash), -// size of the tree, the transparency log's unique identifier (log ID), -// hostname and the current time. -// The result is a string, the format is described here -// https://github.com/transparency-dev/formats/blob/main/log/README.md +// The checkpoint MUST contain a signature of the tree head (root hash), +// size of the tree and the transparency log's unique identifier (log ID). +// It MAY also be followed by any optional data. The result is a string, +// the format is described here https://github.com/transparency-dev/formats/blob/main/log/README.md // The details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/signed_note.go#L114 // The signature has the same format as // InclusionPromise.signed_entry_timestamp. See below for more details. diff --git a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/rekor/v1/__init__.py b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/rekor/v1/__init__.py index 9e3f9997..81f2c522 100644 --- a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/rekor/v1/__init__.py +++ b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/rekor/v1/__init__.py @@ -28,14 +28,14 @@ class KindVersion(betterproto.Message): @dataclass(eq=False, repr=False) class Checkpoint(betterproto.Message): """ - The checkpoint contains a signature of the tree head (root hash), size of - the tree, the transparency log's unique identifier (log ID), hostname and - the current time. The result is a string, the format is described here - https://github.com/transparency-dev/formats/blob/main/log/README.md The - details are here https://github.com/sigstore/rekor/blob/a6e58f72b6b18cc06ce - fe61808efd562b9726330/pkg/util/signed_note.go#L114 The signature has the - same format as InclusionPromise.signed_entry_timestamp. See below for more - details. + The checkpoint MUST contain a signature of the tree head (root hash), size + of the tree and the transparency log's unique identifier (log ID). It MAY + also be followed by any optional data. The result is a string, the format + is described here https://github.com/transparency- + dev/formats/blob/main/log/README.md The details are here https://github.com + /sigstore/rekor/blob/a6e58f72b6b18cc06cefe61808efd562b9726330/pkg/util/sign + ed_note.go#L114 The signature has the same format as + InclusionPromise.signed_entry_timestamp. See below for more details. """ envelope: str = betterproto.string_field(1) diff --git a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.rekor.v1.rs b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.rekor.v1.rs index c849b5d3..6147a67a 100644 --- a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.rekor.v1.rs +++ b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.rekor.v1.rs @@ -17,11 +17,10 @@ pub struct KindVersion { #[prost(string, tag = "2")] pub version: ::prost::alloc::string::String, } -/// The checkpoint contains a signature of the tree head (root hash), -/// size of the tree, the transparency log's unique identifier (log ID), -/// hostname and the current time. -/// The result is a string, the format is described here -/// +/// The checkpoint MUST contain a signature of the tree head (root hash), +/// size of the tree and the transparency log's unique identifier (log ID). +/// It MAY also be followed by any optional data. The result is a string, +/// the format is described here /// The details are here /// The signature has the same format as /// InclusionPromise.signed_entry_timestamp. See below for more details. diff --git a/gen/pb-rust/sigstore-protobuf-specs/src/generated/file_descriptor_set.bin b/gen/pb-rust/sigstore-protobuf-specs/src/generated/file_descriptor_set.bin index 5b5997e315cda79db46b2952602f8b02bc93ca31..f9edbaa3377169e7d67db6dd561712b34555d48c 100644 GIT binary patch delta 1420 zcmX|>&2Jl36vchtJg38>b;}fD>L&0Yw9qW(cLv2rG zJ3B8Sn z7iPcF?G5^4erJOk{Fx^Oal}ezQn%($KA>AX|2r3qlg0C?3zYkX%l5u2`}=PH`VHS3 zO=bPV?Y8XuqiN3@1-I+;7MHz|6UY|55InBa^0hS~t2kEKk-fphm$obS{K3Hg%yp!F z6K8Kq|HjnwN4DU`xTa`jiVZG;%hduqqaVPz;XM?lv zj@@~yL2uI+dD9Zl3eJh8EMwJtPaG9#CDKY|VntBLv#~Oua;IZuLM?5GpGnZ{@bSOwF&}P z88fw{M&)FT=0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