Open pfx546746447 opened 1 year ago
报错信息:
asn1: structure error: tags don't match (16 vs {class:0 tag:4 length:32 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:
同问
可以用下这个,https://github.com/deatil/go-cryptobin/tree/main/cryptobin/sm2 ,对库缺少的部分有完善
可以用下这个,https://github.com/deatil/go-cryptobin/tree/main/cryptobin/sm2 ,对库缺少的部分有完善
感谢,测试了可用
gmsm、openssl、gmssl 我分别生成了三对sm2 密钥
gmssl命令用这三对都可以成功加解密数据
gmsm只能用自己生成的sm2密钥对加解密
其他的就会报错