Skip to content

Commit 54748d2

Browse files
authored
feat(verification): get trusted root material and allow rotation (#1807)
Signed-off-by: Jose I. Paris <[email protected]>
1 parent 46b7eb0 commit 54748d2

File tree

24 files changed

+1067
-363
lines changed

24 files changed

+1067
-363
lines changed

app/controlplane/api/controlplane/v1/signing.pb.go

Lines changed: 160 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/controlplane/api/controlplane/v1/signing.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import "buf/validate/validate.proto";
2525
service SigningService {
2626
// GenerateSigningCert takes a certificate request and generates a new certificate for attestation signing
2727
rpc GenerateSigningCert (GenerateSigningCertRequest) returns (GenerateSigningCertResponse);
28+
rpc GetTrustedRoot (GetTrustedRootRequest) returns (GetTrustedRootResponse);
2829
}
2930

3031
message GenerateSigningCertRequest {
@@ -41,3 +42,9 @@ message CertificateChain {
4142
*/
4243
repeated string certificates = 1;
4344
}
45+
46+
message GetTrustedRootRequest {}
47+
message GetTrustedRootResponse {
48+
// map keyID (cert SubjectKeyIdentifier) to PEM encoded chains
49+
map<string, CertificateChain> keys = 1;
50+
}

app/controlplane/api/controlplane/v1/signing_grpc.pb.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)