Ben há 1 ano atrás
pai
commit
84d7b45130
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      internal/util/rsa.go

+ 1 - 0
internal/util/rsa.go

@@ -44,6 +44,7 @@ func RsaEncrypt(origData []byte) ([]byte, error) {
 	}
 	pubInterface, err := x509.ParsePKIXPublicKey(block.Bytes)
 	if err != nil {
+		log.Printf("can not public")
 		return nil, err
 	}
 	pub := pubInterface.(*rsa.PublicKey)