mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Update README.md
pkeyutl verify should use -pubin
This commit is contained in:
@@ -75,7 +75,7 @@ GmSSL是一个开源的密码工具箱,支持SM2/SM3/SM4/SM9等国密(国家
|
||||
|
||||
```sh
|
||||
$ gmssl pkey -pubout -in signkey.pem -out vrfykey.pem
|
||||
$ gmssl pkeyutl -verify -pkeyopt ec_sign_algor:sm2 -inkey vrfykey.pem \
|
||||
$ gmssl pkeyutl -verify -pkeyopt ec_sign_algor:sm2 -pubin -inkey vrfykey.pem \
|
||||
-in <yourfile> -sigfile <yourfile>.sig
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user