@@ -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)