diff --git a/gen/pb-go/common/v1/sigstore_common.pb.go b/gen/pb-go/common/v1/sigstore_common.pb.go index c32b7567..acd9b10b 100644 --- a/gen/pb-go/common/v1/sigstore_common.pb.go +++ b/gen/pb-go/common/v1/sigstore_common.pb.go @@ -348,8 +348,9 @@ type LogId struct { unknownFields protoimpl.UnknownFields // The unique id of the log, represented as the SHA-256 hash - // of the log's public key, computed over the DER encoding. - // + // of the log's public key, calculated over the DER encoding + // of the key represented as SubjectPublicKeyInfo. + // See https://www.rfc-editor.org/rfc/rfc6962#section-3.2 KeyId []byte `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` } 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 1717e538..5ec1bd31 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 @@ -102,8 +102,9 @@ class LogId(betterproto.Message): key_id: bytes = betterproto.bytes_field(1) """ The unique id of the log, represented as the SHA-256 hash of the log's - public key, computed over the DER encoding. + public key, calculated over the DER encoding of the key represented as + SubjectPublicKeyInfo. See https://www.rfc- + editor.org/rfc/rfc6962#section-3.2 """ diff --git a/gen/pb-typescript/src/__generated__/sigstore_common.ts b/gen/pb-typescript/src/__generated__/sigstore_common.ts index 9a5a6175..40f98a4a 100644 --- a/gen/pb-typescript/src/__generated__/sigstore_common.ts +++ b/gen/pb-typescript/src/__generated__/sigstore_common.ts @@ -199,8 +199,9 @@ export interface MessageSignature { export interface LogId { /** * The unique id of the log, represented as the SHA-256 hash - * of the log's public key, computed over the DER encoding. - * + * of the log's public key, calculated over the DER encoding + * of the key represented as SubjectPublicKeyInfo. + * See https://www.rfc-editor.org/rfc/rfc6962#section-3.2 */ keyId: Buffer; } diff --git a/protos/sigstore_common.proto b/protos/sigstore_common.proto index 5b1bf88c..231a17e7 100644 --- a/protos/sigstore_common.proto +++ b/protos/sigstore_common.proto @@ -85,8 +85,9 @@ message MessageSignature { // LogId captures the identity of a transparency log. message LogId { // The unique id of the log, represented as the SHA-256 hash - // of the log's public key, computed over the DER encoding. - // + // of the log's public key, calculated over the DER encoding + // of the key represented as SubjectPublicKeyInfo. + // See https://www.rfc-editor.org/rfc/rfc6962#section-3.2 bytes key_id = 1 [(google.api.field_behavior) = REQUIRED]; }