开发者社区> 问答> 正文

Signature length not correct: got 256 but was expe

用的是RSA2签名,同样的publicKey,同样的签名方式,支付的时候能正常付款,但是走退款接口的时候就会报Signature length not correct: got 256 but was expecting 128错误。是在沙箱的环境下测试的

展开
收起
1006615112724268 2021-11-08 16:44:32 664 0
1 条回答
写回答
取消 提交回答
  • 沙箱的支付接口,同样的签名方式,同样的支付宝公钥,支付的时候正常,但是退款的时候就报Signature length not correct: got 256 but was expecting 128 ,查了一下是说公钥和签名方式没对上

    2021-11-08 16:49:43
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Constrained Output Embeddings for End-to-End Code-Switching Speech Recognition with Only Monolingual Data 立即下载
Sketching Data With T-Digest 立即下载
Large Scale Data Files,Object 立即下载