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

gmssl_sm2_private_key_info_decrypt_from_pem 无密码保护私钥问题. #5

Open
xuxujie opened this issue Sep 8, 2023 · 0 comments

Comments

@xuxujie
Copy link

xuxujie commented Sep 8, 2023

我现在有个java应用生成好的秘钥对, 这个函数需要两个参数, 第二个参数密码我传空字符串或者null都会[libgmssl inner error]
我期望的是可选的私钥密码保护, 当我第二个参数传空的时候, 不去解密. 或者新增一个没有密码保护的读取函数.
大佬如果有空帮忙解决一下, 非常感谢!

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

1 participant