Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a mime type to the trusted root, as that's expected to be seria… #54

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 47 additions & 36 deletions gen/pb-go/trustroot/v1/sigstore_trustroot.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.

10 changes: 6 additions & 4 deletions protos/sigstore_trustroot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ message CertificateAuthority {
// a minimal set by the policy to gain better control over what signatures
// that are allowed.
message TrustedRoot {
// MUST be application/vnd.dev.sigstore.trustedroot+json;version=0.1
string media_type = 1;
// A set of trusted Rekor servers.
repeated TransparencyLogInstance tlogs = 1;
repeated TransparencyLogInstance tlogs = 2;
// A set of trusted certificate authorites (e.g Fulcio), and any
// intermediate certificates they provide.
// If a CA is issuing multiple intermediate certificate, each
Expand All @@ -78,9 +80,9 @@ message TrustedRoot {
// intermediate and/or leaf certificates.
// The certificates are intended to be used for verifying artifact
// signatures.
repeated CertificateAuthority certificate_authorities = 2;
repeated CertificateAuthority certificate_authorities = 3;
// A set of trusted certificate transparency logs.
repeated TransparencyLogInstance ctlogs = 3;
repeated TransparencyLogInstance ctlogs = 4;
// A set of trusted timestamping authorities.
repeated CertificateAuthority timestamp_authorities = 4;
repeated CertificateAuthority timestamp_authorities = 5;
}