From 016293773b081b37c86b651cda29879a0b7d51f2 Mon Sep 17 00:00:00 2001 From: Urko Date: Mon, 6 Mar 2023 17:29:09 +0100 Subject: [PATCH] feat: remove comments and useless logs --- pkg/credentials/credentials.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/credentials/credentials.go b/pkg/credentials/credentials.go index 91a0070..2ac759d 100644 --- a/pkg/credentials/credentials.go +++ b/pkg/credentials/credentials.go @@ -5,7 +5,6 @@ import ( "encoding/pem" "errors" "fmt" - "log" "os" "os/exec" "strings" @@ -51,13 +50,11 @@ func CredentialsFromKeyWithPasswd(certFile, certKey, passwd string) (credentials if err != nil { return nil, fmt.Errorf("tls.X509KeyPair: %s", err) } - log.Println("cert loaded successfuly") return credentials.NewServerTLSFromCert(&cert), nil } func decryptRSA(keyFile, password string) (string, error) { - // openssl rsa -passin pass:test -in passwd.pem -out passwd.enc.key cmd := exec.Command("openssl", "rsa", "-in", keyFile, "-passin", formatPass(password), "-text") output_bts, err := cmd.Output() if err != nil {