Skip to content

Commit

Permalink
Add RekorBundle message
Browse files Browse the repository at this point in the history
Signed-off-by: Lily Sturmann <[email protected]>
  • Loading branch information
lkatalin committed Apr 1, 2024
1 parent 0d09353 commit 270d37f
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 13 deletions.
121 changes: 108 additions & 13 deletions gen/pb-go/rekor/v1/sigstore_rekor.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions gen/pb-ruby/lib/sigstore_rekor_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,24 @@ pub struct TransparencyLogEntry {
#[prost(bytes = "vec", tag = "7")]
pub canonicalized_body: ::prost::alloc::vec::Vec<u8>,
}
/// The RekorBundle is the signed material used to produce the Signed Entry
/// Timestamp signature. See notes on the InclusionPromise above.
#[derive(
sigstore_protobuf_specs_derive::Deserialize_proto,
sigstore_protobuf_specs_derive::Serialize_proto
)]
#[derive(::prost_reflect::ReflectMessage)]
#[prost_reflect(message_name = "dev.sigstore.rekor.v1.RekorBundle")]
#[prost_reflect(file_descriptor_set_bytes = "crate::FILE_DESCRIPTOR_SET_BYTES")]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RekorBundle {
#[prost(bytes = "vec", tag = "1")]
pub body: ::prost::alloc::vec::Vec<u8>,
#[prost(int64, tag = "2")]
pub integrated_time: i64,
#[prost(string, tag = "3")]
pub log_id: ::prost::alloc::string::String,
#[prost(int64, tag = "4")]
pub log_index: i64,
}
Binary file not shown.
36 changes: 36 additions & 0 deletions gen/pb-typescript/src/__generated__/sigstore_rekor.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions protos/sigstore_rekor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,12 @@ message TransparencyLogEntry {
// payload from other sources to verify the signature.
bytes canonicalized_body = 7;
}

// The RekorBundle is the signed material used to produce the Signed Entry
// Timestamp signature. See notes on the InclusionPromise above.
message RekorBundle {
bytes body = 1 [(google.api.field_behavior) = REQUIRED];
int64 integrated_time = 2 [(google.api.field_behavior) = REQUIRED];
string log_id = 3 [(google.api.field_behavior) = REQUIRED];
int64 log_index = 4 [(google.api.field_behavior) = REQUIRED];
}

0 comments on commit 270d37f

Please sign in to comment.