Ben 1 년 전
부모
커밋
84d7b45130
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)