This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch refactor-with-go
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/refactor-with-go by this push:
     new 40585e8  Update todo (#986)
40585e8 is described below

commit 40585e87dcb909b2a1c1bf576b2b8de79d9db8eb
Author: Albumen Kevin <[email protected]>
AuthorDate: Tue Feb 21 16:43:35 2023 +0800

    Update todo (#986)
---
 ca/main.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ca/main.go b/ca/main.go
index d9dda23..f3ff7eb 100644
--- a/ca/main.go
+++ b/ca/main.go
@@ -42,6 +42,7 @@ type DubboCertificateServiceServerImpl struct {
 
 func (s *DubboCertificateServiceServerImpl) CreateCertificate(c 
context.Context, req *ca.DubboCertificateRequest) 
(*ca.DubboCertificateResponse, error) {
        csr, _ := LoadCSR(req.Csr)
+       // TODO check server token
        log.Printf("Receive csr request " + req.Csr)
        csrTemplate := x509.Certificate{
                Signature:          csr.Signature,
@@ -127,6 +128,7 @@ func main() {
                privKey:  pri,
        }
 
+       // TODO bind TLS server
        grpcServer := grpc.NewServer()
        ca.RegisterDubboCertificateServiceServer(grpcServer, impl)
 

Reply via email to