diff --git a/gen/pb-go/common/v1/sigstore_common.pb.go b/gen/pb-go/common/v1/sigstore_common.pb.go index 5645106e..be8e2e78 100644 --- a/gen/pb-go/common/v1/sigstore_common.pb.go +++ b/gen/pb-go/common/v1/sigstore_common.pb.go @@ -175,8 +175,8 @@ type SupportedAlgorithm int32 const ( SupportedAlgorithm_SUPPORTED_ALGORITHM_UNSPECIFIED SupportedAlgorithm = 0 SupportedAlgorithm_ECDSA_SHA2_256_NISTP256 SupportedAlgorithm = 1 - SupportedAlgorithm_ECDSA_SHA2_256_NISTP521 SupportedAlgorithm = 2 SupportedAlgorithm_ECDSA_SHA2_384_NISTP384 SupportedAlgorithm = 3 + SupportedAlgorithm_ECDSA_SHA2_512_NISTP521 SupportedAlgorithm = 2 SupportedAlgorithm_ED25519 SupportedAlgorithm = 4 SupportedAlgorithm_ED25519_PH SupportedAlgorithm = 5 ) @@ -186,16 +186,16 @@ var ( SupportedAlgorithm_name = map[int32]string{ 0: "SUPPORTED_ALGORITHM_UNSPECIFIED", 1: "ECDSA_SHA2_256_NISTP256", - 2: "ECDSA_SHA2_256_NISTP521", 3: "ECDSA_SHA2_384_NISTP384", + 2: "ECDSA_SHA2_512_NISTP521", 4: "ED25519", 5: "ED25519_PH", } SupportedAlgorithm_value = map[string]int32{ "SUPPORTED_ALGORITHM_UNSPECIFIED": 0, "ECDSA_SHA2_256_NISTP256": 1, - "ECDSA_SHA2_256_NISTP521": 2, "ECDSA_SHA2_384_NISTP384": 3, + "ECDSA_SHA2_512_NISTP521": 2, "ED25519": 4, "ED25519_PH": 5, } @@ -1173,10 +1173,10 @@ var file_sigstore_common_proto_rawDesc = []byte{ 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x4e, 0x49, 0x53, 0x54, 0x50, 0x32, 0x35, 0x36, 0x10, 0x01, - 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x5f, 0x32, - 0x35, 0x36, 0x5f, 0x4e, 0x49, 0x53, 0x54, 0x50, 0x35, 0x32, 0x31, 0x10, 0x02, 0x12, 0x1b, 0x0a, - 0x17, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x5f, 0x33, 0x38, 0x34, 0x5f, - 0x4e, 0x49, 0x53, 0x54, 0x50, 0x33, 0x38, 0x34, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x44, + 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x5f, 0x33, + 0x38, 0x34, 0x5f, 0x4e, 0x49, 0x53, 0x54, 0x50, 0x33, 0x38, 0x34, 0x10, 0x03, 0x12, 0x1b, 0x0a, + 0x17, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x5f, 0x35, 0x31, 0x32, 0x5f, + 0x4e, 0x49, 0x53, 0x54, 0x50, 0x35, 0x32, 0x31, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x44, 0x32, 0x35, 0x35, 0x31, 0x39, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x44, 0x32, 0x35, 0x35, 0x31, 0x39, 0x5f, 0x50, 0x48, 0x10, 0x05, 0x2a, 0x6f, 0x0a, 0x1a, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, diff --git a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/common/v1/__init__.py b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/common/v1/__init__.py index 80572f17..0723ee8d 100644 --- a/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/common/v1/__init__.py +++ b/gen/pb-python/sigstore_protobuf_specs/dev/sigstore/common/v1/__init__.py @@ -60,8 +60,8 @@ class SupportedAlgorithm(betterproto.Enum): SUPPORTED_ALGORITHM_UNSPECIFIED = 0 ECDSA_SHA2_256_NISTP256 = 1 - ECDSA_SHA2_256_NISTP521 = 2 ECDSA_SHA2_384_NISTP384 = 3 + ECDSA_SHA2_512_NISTP521 = 2 ED25519 = 4 ED25519_PH = 5 diff --git a/gen/pb-ruby/lib/sigstore_common_pb.rb b/gen/pb-ruby/lib/sigstore_common_pb.rb index 37c838a2..59debb11 100644 --- a/gen/pb-ruby/lib/sigstore_common_pb.rb +++ b/gen/pb-ruby/lib/sigstore_common_pb.rb @@ -75,8 +75,8 @@ add_enum "dev.sigstore.common.v1.SupportedAlgorithm" do value :SUPPORTED_ALGORITHM_UNSPECIFIED, 0 value :ECDSA_SHA2_256_NISTP256, 1 - value :ECDSA_SHA2_256_NISTP521, 2 value :ECDSA_SHA2_384_NISTP384, 3 + value :ECDSA_SHA2_512_NISTP521, 2 value :ED25519, 4 value :ED25519_PH, 5 end diff --git a/gen/pb-typescript/src/__generated__/sigstore_common.ts b/gen/pb-typescript/src/__generated__/sigstore_common.ts index 6037f568..b2d3907d 100644 --- a/gen/pb-typescript/src/__generated__/sigstore_common.ts +++ b/gen/pb-typescript/src/__generated__/sigstore_common.ts @@ -130,8 +130,8 @@ export function publicKeyDetailsToJSON(object: PublicKeyDetails): string { export enum SupportedAlgorithm { SUPPORTED_ALGORITHM_UNSPECIFIED = 0, ECDSA_SHA2_256_NISTP256 = 1, - ECDSA_SHA2_256_NISTP521 = 2, ECDSA_SHA2_384_NISTP384 = 3, + ECDSA_SHA2_512_NISTP521 = 2, ED25519 = 4, ED25519_PH = 5, } @@ -144,12 +144,12 @@ export function supportedAlgorithmFromJSON(object: any): SupportedAlgorithm { case 1: case "ECDSA_SHA2_256_NISTP256": return SupportedAlgorithm.ECDSA_SHA2_256_NISTP256; - case 2: - case "ECDSA_SHA2_256_NISTP521": - return SupportedAlgorithm.ECDSA_SHA2_256_NISTP521; case 3: case "ECDSA_SHA2_384_NISTP384": return SupportedAlgorithm.ECDSA_SHA2_384_NISTP384; + case 2: + case "ECDSA_SHA2_512_NISTP521": + return SupportedAlgorithm.ECDSA_SHA2_512_NISTP521; case 4: case "ED25519": return SupportedAlgorithm.ED25519; @@ -167,10 +167,10 @@ export function supportedAlgorithmToJSON(object: SupportedAlgorithm): string { return "SUPPORTED_ALGORITHM_UNSPECIFIED"; case SupportedAlgorithm.ECDSA_SHA2_256_NISTP256: return "ECDSA_SHA2_256_NISTP256"; - case SupportedAlgorithm.ECDSA_SHA2_256_NISTP521: - return "ECDSA_SHA2_256_NISTP521"; case SupportedAlgorithm.ECDSA_SHA2_384_NISTP384: return "ECDSA_SHA2_384_NISTP384"; + case SupportedAlgorithm.ECDSA_SHA2_512_NISTP521: + return "ECDSA_SHA2_512_NISTP521"; case SupportedAlgorithm.ED25519: return "ED25519"; case SupportedAlgorithm.ED25519_PH: diff --git a/protos/sigstore_common.proto b/protos/sigstore_common.proto index c5c3e509..6edaaaa7 100644 --- a/protos/sigstore_common.proto +++ b/protos/sigstore_common.proto @@ -79,8 +79,8 @@ message HashOutput { enum SupportedAlgorithm { SUPPORTED_ALGORITHM_UNSPECIFIED = 0; ECDSA_SHA2_256_NISTP256 = 1; - ECDSA_SHA2_256_NISTP521 = 2; ECDSA_SHA2_384_NISTP384 = 3; + ECDSA_SHA2_512_NISTP521 = 2; ED25519 = 4; ED25519_PH = 5; }