From 4458236b9bc761b0391b5b0203aa65e58cdd4faa Mon Sep 17 00:00:00 2001 From: Fredrik Skogman Date: Thu, 9 May 2024 08:38:31 +0200 Subject: [PATCH] Fixed a spelling error caught during review --- gen/jsonschema/schemas/Bundle.schema.json | 2 +- gen/jsonschema/schemas/Input.schema.json | 2 +- gen/pb-go/bundle/v1/sigstore_bundle.pb.go | 2 +- .../dev/sigstore/bundle/v1/__init__.py | 4 ++-- .../src/generated/dev.sigstore.bundle.v1.rs | 2 +- .../src/generated/file_descriptor_set.bin | Bin 118389 -> 118386 bytes protos/sigstore_bundle.proto | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gen/jsonschema/schemas/Bundle.schema.json b/gen/jsonschema/schemas/Bundle.schema.json index 4c87c773..5d2c83a1 100644 --- a/gen/jsonschema/schemas/Bundle.schema.json +++ b/gen/jsonschema/schemas/Bundle.schema.json @@ -20,7 +20,7 @@ "dsseEnvelope": { "$ref": "#/definitions/io.intoto.Envelope", "additionalProperties": false, - "description": "A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: \u003chttps://github.com/secure-systems-lab/dsse/blob/master/protocol.md\u003e DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if it the number of signatures is not equal to one." + "description": "A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: \u003chttps://github.com/secure-systems-lab/dsse/blob/master/protocol.md\u003e DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one." } }, "additionalProperties": false, diff --git a/gen/jsonschema/schemas/Input.schema.json b/gen/jsonschema/schemas/Input.schema.json index adc2e2d9..3e65bf5d 100644 --- a/gen/jsonschema/schemas/Input.schema.json +++ b/gen/jsonschema/schemas/Input.schema.json @@ -53,7 +53,7 @@ "dsseEnvelope": { "$ref": "#/definitions/io.intoto.Envelope", "additionalProperties": false, - "description": "A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: \u003chttps://github.com/secure-systems-lab/dsse/blob/master/protocol.md\u003e DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if it the number of signatures is not equal to one." + "description": "A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: \u003chttps://github.com/secure-systems-lab/dsse/blob/master/protocol.md\u003e DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one." } }, "additionalProperties": false, diff --git a/gen/pb-go/bundle/v1/sigstore_bundle.pb.go b/gen/pb-go/bundle/v1/sigstore_bundle.pb.go index 9b5266ba..b3f44d1f 100644 --- a/gen/pb-go/bundle/v1/sigstore_bundle.pb.go +++ b/gen/pb-go/bundle/v1/sigstore_bundle.pb.go @@ -375,7 +375,7 @@ type Bundle_DsseEnvelope struct { // instance of the required verification materials // // During verification a client MUST reject an envelope if - // it the number of signatures is not equal to one. + // the number of signatures is not equal to one. DsseEnvelope *dsse.Envelope `protobuf:"bytes,4,opt,name=dsse_envelope,json=dsseEnvelope,proto3,oneof"` } diff --git a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/bundle/v1/__init__.py b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/bundle/v1/__init__.py index 5ee8163b..8cae55c2 100644 --- a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/bundle/v1/__init__.py +++ b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/bundle/v1/__init__.py @@ -114,6 +114,6 @@ class Bundle(betterproto.Message): contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During - verification a client MUST reject an envelope if it the number of - signatures is not equal to one. + verification a client MUST reject an envelope if the number of signatures + is not equal to one. """ diff --git a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.bundle.v1.rs b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.bundle.v1.rs index 14b1092a..cb9253ec 100644 --- a/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.bundle.v1.rs +++ b/gen/pb-rust/sigstore-protobuf-specs/src/generated/dev.sigstore.bundle.v1.rs @@ -197,7 +197,7 @@ pub mod bundle { /// 2. The bundle (currently) can only contain a single /// instance of the required verification materials /// During verification a client MUST reject an envelope if - /// it the number of signatures is not equal to one. + /// the number of signatures is not equal to one. #[prost(message, tag = "4")] DsseEnvelope(super::super::super::super::super::io::intoto::Envelope), } 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 e4879481c6ec219860a8be73bece144e5cab354f..71a7c58b33af146dd4824fc3346ec27214dc9215 100644 GIT binary patch delta 69 zcmV-L0J{J6oCorp2Y|Ez|6&2LwqpUp1PSIf3I`Ge4gi$5aUcO=0=F${0sj;b!37Eg b1OfsB5(JO|5MCOxw>*CVg#x$4fdR2hLpv51 delta 72 zcmV-O0Js10oCo!s2Y|Ez|6&2OwqpUp1PSRi3I`Ge4gi$5aUcO=0=F${0sj;b#03fj e1OfsB5(JO|5MCO!w>*CVg#rR;bhp5P0kTYl-4_1< diff --git a/protos/sigstore_bundle.proto b/protos/sigstore_bundle.proto index 6f642b8c..cd9d6706 100644 --- a/protos/sigstore_bundle.proto +++ b/protos/sigstore_bundle.proto @@ -141,7 +141,7 @@ message Bundle { // 2. The bundle (currently) can only contain a single // instance of the required verification materials // During verification a client MUST reject an envelope if - // it the number of signatures is not equal to one. + // the number of signatures is not equal to one. io.intoto.Envelope dsse_envelope = 4 [(google.api.field_behavior) = REQUIRED]; } // Reserved for future additions of artifact types.