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

Python binding to the GmSSL library

Results 19 GmSSL-Python issues
Sort by recently updated
recently updated
newest added

系统:windows 64 位操作系统 通过以下命令安装GmSSL-3.1.1: ``` mkdir build cd build cmake .. -G "NMake Makefiles" -DWIN32=ON nmake nmake install ``` ![image](https://github.com/GmSSL/GmSSL-Python/assets/43674034/451f9947-1edd-462a-988a-920f0f964113) 使用`python -m unittest -v`命令,出现以下错误: ![image](https://github.com/GmSSL/GmSSL-Python/assets/43674034/8a56497f-4d06-46ce-a8f9-34ccdfcfafc3) 请问如何解决

这个Sm2Key的Sm2Point没有z值,但是C中是有这个z的,这导致测试实例程序结束时崩溃,我手动增加了这个Z后可以正常运行示例程序 ![image](https://github.com/user-attachments/assets/4f1ecb19-70c3-4bd6-9ee4-fd27503c04f0)

pypi 安装包地址:https://pypi.org/project/easy-gmssl/

安装[Gmssl](https://github.com/guanzhi/GmSSL)和本python包后尝试导入报错 ``` >>> import gmssl Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.11/site-packages/gmssl.py", line 17, in raise ValueError('Install GmSSL dynamic library from https://github.com/guanzhi/GmSSL') ValueError: Install GmSSL...

安装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安装包不支持直接使用,建议显著说明。

## 📋 概述 本 PR 对 GmSSL-Python 进行了全面改进,主要包括:跨平台兼容性修复、自包含动态库支持、代码质量提升、API 优化以及大幅增强的测试覆盖率。这些改进使得 GmSSL-Python 更加健壮、易用,并且可以开箱即用。 ## ✨ 主要改进 ### 1. 🎁 自包含跨平台动态库支持 **问题背景**: - 用户需要手动编译安装 GmSSL 库才能使用 gmssl-python - 不同平台的安装步骤复杂,对新手不友好 - 缺少对 ARM64 架构的支持...

在描述里看到支持SM4-CCM,请问这个有测试相关的demo吗