Skip to content

Commit

Permalink
feat(verification): get trusted root material and allow rotation (cha…
Browse files Browse the repository at this point in the history
…inloop-dev#1807)

Signed-off-by: Jose I. Paris <[email protected]>
  • Loading branch information
jiparis authored Feb 12, 2025
1 parent 46b7eb0 commit 54748d2
Show file tree
Hide file tree
Showing 24 changed files with 1,067 additions and 363 deletions.
183 changes: 160 additions & 23 deletions app/controlplane/api/controlplane/v1/signing.pb.go

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

7 changes: 7 additions & 0 deletions app/controlplane/api/controlplane/v1/signing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import "buf/validate/validate.proto";
service SigningService {
// GenerateSigningCert takes a certificate request and generates a new certificate for attestation signing
rpc GenerateSigningCert (GenerateSigningCertRequest) returns (GenerateSigningCertResponse);
rpc GetTrustedRoot (GetTrustedRootRequest) returns (GetTrustedRootResponse);
}

message GenerateSigningCertRequest {
Expand All @@ -41,3 +42,9 @@ message CertificateChain {
*/
repeated string certificates = 1;
}

message GetTrustedRootRequest {}
message GetTrustedRootResponse {
// map keyID (cert SubjectKeyIdentifier) to PEM encoded chains
map<string, CertificateChain> keys = 1;
}
37 changes: 37 additions & 0 deletions app/controlplane/api/controlplane/v1/signing_grpc.pb.go

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

Loading

0 comments on commit 54748d2

Please sign in to comment.