-
当前有加密的密钥11000000002090000001_SIGN.key文件,当前解析不了,使用gmssl 3.0的代码解,发现直接报错,请问这个是什么原因?谢谢
/usr/local/src/code/gmssl_git_hub/GmSSL-3.1.1/src/pkcs8.c:367:pbes2_algor_from_der():
/usr/local/src/code/gmssl_git…
-
### 秘钥文件内容:
Private-Key: (256 bit)
priv:
51:5f:ff:18:27:b5:be:41:5e:70:bc:d9:00:fc:a3:
d6:af:4a:b8:da:3c:5e:88:4d:d3:7b:64:2a:77:1a:
2a:ea
pub:
04:43:81:e4:75:71:ba:3e:73:3b:c3…
-
为什么CreateCertificate的参数和系统库的参数不一致,导致不能签发非sm2的证书
gmsm/x509:
func CreateCertificate(template, parent *Certificate, publicKey *sm2.PublicKey, signer crypto.Signer) ([]byte, error)
crypto/x509
fu…
-
SM2私钥如果有密码,这个工具怎么支持呢?
-
This is a tracking issue for additional elliptic curves we could potentially implement.
Note that we are presently focusing on short Weierstrass curves which can be implemented using the `primeorde…
-
HyperchainAPI.newAccountRawSM2() got exception:
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.bouncycastle.math.ec.ECPoint$AbstractFp.(Lorg/bouncycastle/math/ec/…
-
This isn't an urgent issue, we can just discuss it, maybe we can do it in the future.
#### Q1: Do we need to support this cryptography standards?
In my opinion, we should support it as some dap…
-
```
sign verify sign/s verify/s
256 bit sm2 (sm2p256v1) 0.0001s 0.0004s 10145.2 2838.9
encrypt decrypt enc/s dec/s
256…
-
dist目录下有个sm2.js,通过``引入网页后,可以直接调用`sm2.doEncrypt`方法;
现在想通过node命令行运行sm2.js,试了在sm2.js新增一行 `console.log(sm2.doEncrypt(process.argv[2], process.argv[3]));`
然后命令行执行 `node sm2.js aaaa 047df3e40511e1b88db0d…
-
我用这个openssl生成的公私钥对可以签名验签都是正常的,哪这个生成的公私钥到sm2.js里面去签名验签就不行了,这个openssl生成的sm2的公私钥是什么格式的啊,这个是sm2.js的公私钥获取和签名验签,麻烦大佬抽时间看看