Skip to content

Commit

Permalink
feat(keyless): implement signing service
Browse files Browse the repository at this point in the history
Signed-off-by: Jose I. Paris <[email protected]>
  • Loading branch information
jiparis committed May 31, 2024
1 parent 4737f65 commit 4cf148b
Show file tree
Hide file tree
Showing 6 changed files with 902 additions and 0 deletions.
304 changes: 304 additions & 0 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.

40 changes: 40 additions & 0 deletions app/controlplane/api/controlplane/v1/signing.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//
// Copyright 2024 The Chainloop Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.


syntax = "proto3";

package controlplane.v1;

option go_package = "github.com/chainloop-dev/chainloop/app/controlplane/api/controlplane/v1;v1";

service SigningService {
rpc SigningCert (SigningCertRequest) returns (SigningCertResponse);
}

message SigningCertRequest {
bytes certificate_signing_request = 1;
}

message SigningCertResponse {
CertificateChain chain = 1;
}

message CertificateChain {
/*
* The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
*/
repeated string certificates = 1;
}
Loading

0 comments on commit 4cf148b

Please sign in to comment.