From d7222cdea4fe07d7ba7263360210eb0bb46fc710 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Tue, 26 Mar 2024 15:33:03 -0400 Subject: [PATCH] tweak tsa_url Signed-off-by: William Woodruff --- .../schemas/ClientTrustConfig.schema.json | 2 +- .../schemas/SigningConfig.schema.json | 2 +- .../trustroot/v1/sigstore_trustroot.pb.go | 7 ++++--- .../dev/sigstore/trustroot/v1/__init__.py | 6 +++--- .../generated/dev.sigstore.trustroot.v1.rs | 7 ++++--- .../src/generated/file_descriptor_set.bin | Bin 116225 -> 116254 bytes .../src/__generated__/sigstore_trustroot.ts | 7 ++++--- protos/sigstore_trustroot.proto | 7 ++++--- 8 files changed, 21 insertions(+), 17 deletions(-) diff --git a/gen/jsonschema/schemas/ClientTrustConfig.schema.json b/gen/jsonschema/schemas/ClientTrustConfig.schema.json index bcf69630..bd910e9a 100644 --- a/gen/jsonschema/schemas/ClientTrustConfig.schema.json +++ b/gen/jsonschema/schemas/ClientTrustConfig.schema.json @@ -198,7 +198,7 @@ }, "tsaUrl": { "type": "string", - "description": "A URL to a Sigstore-compatible Time Stamping Authority (TSA). This URL **MUST** be the \"base\" URL for the TSA, which clients should construct appropriate API endpoints on top of." + "description": "A URL to an RFC 3161 Time Stamping Authority (TSA). This URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161." } }, "additionalProperties": false, diff --git a/gen/jsonschema/schemas/SigningConfig.schema.json b/gen/jsonschema/schemas/SigningConfig.schema.json index e5c74667..32e3623a 100644 --- a/gen/jsonschema/schemas/SigningConfig.schema.json +++ b/gen/jsonschema/schemas/SigningConfig.schema.json @@ -18,7 +18,7 @@ }, "tsaUrl": { "type": "string", - "description": "A URL to a Sigstore-compatible Time Stamping Authority (TSA). This URL **MUST** be the \"base\" URL for the TSA, which clients should construct appropriate API endpoints on top of." + "description": "A URL to an RFC 3161 Time Stamping Authority (TSA). This URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161." } }, "additionalProperties": false, diff --git a/gen/pb-go/trustroot/v1/sigstore_trustroot.pb.go b/gen/pb-go/trustroot/v1/sigstore_trustroot.pb.go index 764eedd4..518800b1 100644 --- a/gen/pb-go/trustroot/v1/sigstore_trustroot.pb.go +++ b/gen/pb-go/trustroot/v1/sigstore_trustroot.pb.go @@ -358,10 +358,11 @@ type SigningConfig struct { // This URL **MUST** be the "base" URL for the transparency log, // which clients should construct appropriate API endpoints on top of. TlogUrl string `protobuf:"bytes,3,opt,name=tlog_url,json=tlogUrl,proto3" json:"tlog_url,omitempty"` - // A URL to a Sigstore-compatible Time Stamping Authority (TSA). + // A URL to an RFC 3161 Time Stamping Authority (TSA). // - // This URL **MUST** be the "base" URL for the TSA, which clients - // should construct appropriate API endpoints on top of. + // This URL **MUST** be the **full** URL for the TSA, meaning that it + // should be suitable for submitting Time Stamp Requests (TSRs) to + // via HTTP, per RFC 3161. TsaUrl string `protobuf:"bytes,4,opt,name=tsa_url,json=tsaUrl,proto3" json:"tsa_url,omitempty"` } diff --git a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/trustroot/v1/__init__.py b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/trustroot/v1/__init__.py index 6bde1f40..a6f57c3a 100644 --- a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/trustroot/v1/__init__.py +++ b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/trustroot/v1/__init__.py @@ -160,9 +160,9 @@ class SigningConfig(betterproto.Message): tsa_url: str = betterproto.string_field(4) """ - A URL to a Sigstore-compatible Time Stamping Authority (TSA). This URL - **MUST** be the "base" URL for the TSA, which clients should construct - appropriate API endpoints on top of. + A URL to an RFC 3161 Time Stamping Authority (TSA). This URL **MUST** be + the **full** URL for the TSA, meaning that it should be suitable for + submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161. """ diff --git a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.trustroot.v1.rs b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.trustroot.v1.rs index 23b1146f..c9d7714f 100644 --- a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.trustroot.v1.rs +++ b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.trustroot.v1.rs @@ -168,10 +168,11 @@ pub struct SigningConfig { /// which clients should construct appropriate API endpoints on top of. #[prost(string, tag = "3")] pub tlog_url: ::prost::alloc::string::String, - /// A URL to a Sigstore-compatible Time Stamping Authority (TSA). + /// A URL to an RFC 3161 Time Stamping Authority (TSA). /// - /// This URL **MUST** be the "base" URL for the TSA, which clients - /// should construct appropriate API endpoints on top of. + /// This URL **MUST** be the **full** URL for the TSA, meaning that it + /// should be suitable for submitting Time Stamp Requests (TSRs) to + /// via HTTP, per RFC 3161. #[prost(string, tag = "4")] pub tsa_url: ::prost::alloc::string::String, } 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 8860193552cef335484133d5ead13bd530d0b709..e0818f4306a01e17af4a33a4665bef738a98ded0 100644 GIT binary patch delta 466 zcmXw!O-lk%6ox%I=IufnT7uT%P-ZF;ND!2ZlAsT=C>_@|(wGB&&z%-+vRw-|t%MA- ziSY+iFq?ix|3La5-I<)_bMASc`<{oMZ`kv7zu>Y96Z5JI-`?5b4)q1Se%IJ+Bb40c z-6O<8Ffd;SFc#typn~9WdxF94R1Dkj8YK~3_%Dc&j)9*N?48e4MbzsD{wvO(z_^;(6!c4NPTU|}HapnXpy zNvCx710o1cwTq5oD`@SkRf`mr_>jpd-5k0fKE~A4 zO$QaSIQO0S3VZ|J#b*5ekKc!T>YAOd>3?C*#~|MK@okKDR+(uTS*;&ma5VJz`UZ}T zyEwSVD_I_Z5t7j}7P$qTD#qaJys=Z|p39rO-afwa+{@O|p?h}T^x6lfEphUUig*iP z>$`PPdxRr?11zp&j6}$?F=i+aDs%ZX6TeVopI|y6)<^)YFOEWd