GmSSL-PHP icon indicating copy to clipboard operation
GmSSL-PHP copied to clipboard

gmssl_sm2_private_key_info_decrypt_from_pem 无密码保护私钥问题.

Open xuxujie opened this issue 1 year ago • 0 comments

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

xuxujie avatar Sep 08 '23 15:09 xuxujie