Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问SM2证书目前具体是哪里不完善 #37

Closed
b1gcat opened this issue Aug 9, 2016 · 3 comments
Closed

请问SM2证书目前具体是哪里不完善 #37

b1gcat opened this issue Aug 9, 2016 · 3 comments

Comments

@b1gcat
Copy link

b1gcat commented Aug 9, 2016

这个项目很棒,正在学习。不过有个疑问作者说SM2证书和规范的证书还有差距,这个具体是指?
望指教。谢谢

@b1gcat
Copy link
Author

b1gcat commented Aug 9, 2016

我看了下例子 签名算法是ecdsa-with-SHA256, 请问怎么成生sm2sign-with-sm3

@guanzhi
Copy link
Owner

guanzhi commented Aug 10, 2016

  1. 目前证书签名中没有添加SM2的Z值
  2. GmSSL采用和国家标准不同的默认用户ID
  3. 由于没有参照过正式的GM国密证书标准,因此和标准可能有其他的区别
  4. 这部分还没有测试

例子请参考 demo/gmssl/selfsign.c

@guanzhi
Copy link
Owner

guanzhi commented Aug 10, 2016

如果您是来自上海安达通 (www.adtsec.com) 公司的朋友,欢迎您在安达通公司内部或产品中使用GmSSL。

@b1gcat b1gcat closed this as completed Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants