-
我发现在java sm2中生成的公钥,在sm2.Decompress方法解析时,会报panic:
goroutine 81 [running]:
testing.tRunner.func1.2(0x564ba20, 0x69fa320)
/usr/local/opt/go/libexec/src/testing/testing.go:1143 +0x332
testing.tRunner…
-
For our device, the default (ESI-defined) PDO mappings are done as follows:
Sync Manager 2 (SM2) is 0x1C12 and is for output PDO mappings that are detailed as follows:
0x1600 contains a mapping for …
-
您好请问可以在vue的后台项目中使用吗?
-
本身SM2签名仅需要私钥即可,当前代码直接使用到了公钥,导致使用误解
-
![image](https://github.com/GmSSL/GmSSL-Go/assets/52328658/ba20f8d2-1532-4370-a99c-89c99807104b)
Windows下面的,gmssl已经安装,按照流程下来还是报错。
qssto updated
5 months ago
-
我们这边有用到 asn1 编码, sm-crypto 那边 sm2 好像不支持
hhcgq updated
3 months ago
-
Botan2 already has support for SM2/3/4 algorithms which are published by OSCCA(Office of State Commercial Cipher Administration) to meet regulations for use within China. And also, openpgp has that dr…
-
1. 使用python sm2 加密加密,加密bytes 直接写入文件。
data = b'test1111'
sm2_crypt = sm2.CryptSM2(public_key=public_key, private_key="", asn1=True)
enc_data = sm2_crypt.encrypt(data)
dataBase64 = b…
-
```
s_client ... -groups SM2 ...
```
执行上述形式的命令时报如下错误,
```
Error with command: "-groups SM2"
```
使用参数`-curves SM2`,`-curves curveSM2`也是类似的错误。
请问,能否指定使用SM2的椭圆曲线?
-
# Problem Description:
SM2 failed to generate public key from private key of 3.0 and 3.2.
# command
## 1. generate sm2 private key file by OpenSSL commands of 3.0 and 3.2:
openssl ecparam -genkey …