You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
安装GmSSL-3.1.1-win64安装包,在其目录bin下仅有gmssl.dll一个动态链接库文件,使用gmssl-pytrhon,导入gmssl时,报错:FileNotFoundError: Could not find module…… 安装路径/gmssl.dll。一直以为是gmssl.dll或者python调用dll机制出了问题,后查询python的ctypes文档,才意识到是gmssl.dll依赖的其他dll文件确实导致。后使用第三方基于GmSSL-3.1.1编译的windows动态链接库(其目录下包含gmssl.dll、sdf_dummy.dll、skf_dummy.dll)才解决问题。建议修复该问题,若是GmSSL-3.1.1-win64安装包不支持直接使用,建议显著说明。
The text was updated successfully, but these errors were encountered:
实际上是 #1657 的问题
给后来人行个方便吧,需要的话自取
二选一,下载3.1.2 dev recompiled的话,覆盖安装好的bin目录下面的两个同名文件,下载dlls的话,将这两个dll放在安装好的bin目录里,至少暂时解决不能用的问题,也许。
如果你有安全顾虑(鉴于这是一个密码库,你应该有安全顾虑),自己找下vc140runtimed和ucrtbased两个dll丢在bin里也就能用了。
For your convenience, two solutions as you go.
Replace the gmssl.exe, gmssl.dll in the bin folder of installation position by files from gmssl 3.1.2 dev (recompiled).zip, OR put the files from dlls.zip at the 'bin' directory. gmssl 3.1.2 dev(recompiled).zip dlls.zip
安装GmSSL-3.1.1-win64安装包,在其目录bin下仅有gmssl.dll一个动态链接库文件,使用gmssl-pytrhon,导入gmssl时,报错:FileNotFoundError: Could not find module…… 安装路径/gmssl.dll。一直以为是gmssl.dll或者python调用dll机制出了问题,后查询python的ctypes文档,才意识到是gmssl.dll依赖的其他dll文件确实导致。后使用第三方基于GmSSL-3.1.1编译的windows动态链接库(其目录下包含gmssl.dll、sdf_dummy.dll、skf_dummy.dll)才解决问题。建议修复该问题,若是GmSSL-3.1.1-win64安装包不支持直接使用,建议显著说明。
The text was updated successfully, but these errors were encountered: