WeBASE-Sign icon indicating copy to clipboard operation
WeBASE-Sign copied to clipboard

从1.5.3升级到1.5.5会引起公钥格式变化

Open KeaneYan opened this issue 1 year ago • 1 comments

1.5.3版本生成的公钥长度为130位并以“04”开头 image 1.5.5版本生成的公钥长度为128位,无“04”前缀 image

KeaneYan avatar Jul 26 '23 07:07 KeaneYan

最新的 1.5.5 版本中由于 fisco-bcos 的 javasdk 修改了公钥的位数,从 130 改为了 128,去除了 04 开头两位。如果需要兼容使用,可以判断公钥长度,进行 substring(2) 兼容

CodingCattwo avatar Sep 26 '23 03:09 CodingCattwo