Skip to content

Commit 4cf148b

Browse files
committed
feat(keyless): implement signing service
Signed-off-by: Jose I. Paris <[email protected]>
1 parent 4737f65 commit 4cf148b

File tree

6 files changed

+902
-0
lines changed

6 files changed

+902
-0
lines changed

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

Lines changed: 304 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// Copyright 2024 The Chainloop Authors.
3+
//
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
//
8+
// http://www.apache.org/licenses/LICENSE-2.0
9+
//
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
16+
17+
syntax = "proto3";
18+
19+
package controlplane.v1;
20+
21+
option go_package = "github.com/chainloop-dev/chainloop/app/controlplane/api/controlplane/v1;v1";
22+
23+
service SigningService {
24+
rpc SigningCert (SigningCertRequest) returns (SigningCertResponse);
25+
}
26+
27+
message SigningCertRequest {
28+
bytes certificate_signing_request = 1;
29+
}
30+
31+
message SigningCertResponse {
32+
CertificateChain chain = 1;
33+
}
34+
35+
message CertificateChain {
36+
/*
37+
* The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
38+
*/
39+
repeated string certificates = 1;
40+
}

0 commit comments

Comments
 (0)