From aa034e3816d533a82690552cfad7e104f405ae7e Mon Sep 17 00:00:00 2001 From: Hayden Blauzvern Date: Fri, 30 Jun 2023 20:12:30 +0000 Subject: [PATCH] Bump version Signed-off-by: Hayden Blauzvern --- gen/pb-go/bundle/v1/sigstore_bundle.pb.go | 1 + gen/pb-python/pyproject.toml | 2 +- .../dev/sigstore/bundle/v1/__init__.py | 5 +++-- gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb | 2 +- gen/pb-typescript/package.json | 2 +- gen/pb-typescript/src/__generated__/sigstore_bundle.ts | 1 + protos/sigstore_bundle.proto | 5 +++-- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gen/pb-go/bundle/v1/sigstore_bundle.pb.go b/gen/pb-go/bundle/v1/sigstore_bundle.pb.go index 882a902d..1bdc21fc 100644 --- a/gen/pb-go/bundle/v1/sigstore_bundle.pb.go +++ b/gen/pb-go/bundle/v1/sigstore_bundle.pb.go @@ -200,6 +200,7 @@ type Bundle struct { unknownFields protoimpl.UnknownFields // MUST be application/vnd.dev.sigstore.bundle+json;version=0.1 + // or application/vnd.dev.sigstore.trustedroot+json;version=0.2 // when encoded as JSON. MediaType string `protobuf:"bytes,1,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // When a signer is identified by a X.509 certificate, a verifier MUST diff --git a/gen/pb-python/pyproject.toml b/gen/pb-python/pyproject.toml index a7f446bd..4cc5adb8 100644 --- a/gen/pb-python/pyproject.toml +++ b/gen/pb-python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "sigstore-protobuf-specs" -version = "0.1.0" +version = "0.2.0" description = "A library for serializing and deserializing Sigstore messages" readme = "README.md" license = { file = "LICENSE" } 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 53eb7b88..1ff9cbda 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 @@ -61,8 +61,9 @@ class VerificationMaterial(betterproto.Message): class Bundle(betterproto.Message): media_type: str = betterproto.string_field(1) """ - MUST be application/vnd.dev.sigstore.bundle+json;version=0.1 when encoded - as JSON. + MUST be application/vnd.dev.sigstore.bundle+json;version=0.1 or + application/vnd.dev.sigstore.trustedroot+json;version=0.2 when encoded as + JSON. """ verification_material: "VerificationMaterial" = betterproto.message_field(2) diff --git a/gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb b/gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb index d04df77f..849fcd38 100644 --- a/gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb +++ b/gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb @@ -16,6 +16,6 @@ module Dev module Sigstore - VERSION = '0.1.0' + VERSION = '0.2.0' end end \ No newline at end of file diff --git a/gen/pb-typescript/package.json b/gen/pb-typescript/package.json index 7cb4aa9c..6697d247 100644 --- a/gen/pb-typescript/package.json +++ b/gen/pb-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@sigstore/protobuf-specs", - "version": "0.1.0", + "version": "0.2.0", "description": "code-signing for npm packages", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/gen/pb-typescript/src/__generated__/sigstore_bundle.ts b/gen/pb-typescript/src/__generated__/sigstore_bundle.ts index 3b21d339..69f10d04 100644 --- a/gen/pb-typescript/src/__generated__/sigstore_bundle.ts +++ b/gen/pb-typescript/src/__generated__/sigstore_bundle.ts @@ -39,6 +39,7 @@ export interface VerificationMaterial { export interface Bundle { /** * MUST be application/vnd.dev.sigstore.bundle+json;version=0.1 + * or application/vnd.dev.sigstore.trustedroot+json;version=0.2 * when encoded as JSON. */ mediaType: string; diff --git a/protos/sigstore_bundle.proto b/protos/sigstore_bundle.proto index 4c349952..50b60e65 100644 --- a/protos/sigstore_bundle.proto +++ b/protos/sigstore_bundle.proto @@ -31,8 +31,8 @@ option java_outer_classname = "BundleProto"; // The primary message ('Bundle') MUST be versioned, by populating the // 'media_type' field. Semver-ish (only major/minor versions) scheme MUST // be used. The current version as specified by this file is: -// application/vnd.dev.sigstore.bundle+json;version=0.1 -// The semantic version is thus '0.1'. +// application/vnd.dev.sigstore.bundle+json;version=0.2 +// The semantic version is thus '0.2'. // Various timestamped counter signatures over the artifacts signature. // Currently only RFC3161 signatures are provided. More formats may be added @@ -62,6 +62,7 @@ message VerificationMaterial { message Bundle { // MUST be application/vnd.dev.sigstore.bundle+json;version=0.1 + // or application/vnd.dev.sigstore.trustedroot+json;version=0.2 // when encoded as JSON. string media_type = 1; // When a signer is identified by a X.509 certificate, a verifier MUST