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

PHP binding to the GmSSL library.

Results 10 GmSSL-PHP issues
Sort by recently updated
recently updated
newest added

checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for pkg-config... /usr/bin/pkg-config checking...

checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking...

gmssl_encode_der 哪个版本支持

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

gmssl version:3.1.0 mac os: 12.6.7 php version :8.1.12 在使用gmssl_sm2_encrypt方法以及gmssl_sm2_decrypt均失败。 直接在命令行使用gmssl sm2encrypt与decrypt未发现问题。 ===================================================================== PHP : /usr/local/Cellar/php/8.1.12/bin/php PHP_SAPI : cli PHP_VERSION : 8.1.12 ZEND_VERSION: 4.1.12 PHP_OS : Darwin - Darwin heyangfandeMacBook-Pro.local 21.6.0...

通过反射获取的函数签名是 ``` function gmssl_cert_verify_by_ca_cert($cert, $cert, $id) { } ``` 通过 `php --rf gmssl_cert_verify_by_ca_cert` 获得的结果是 ``` Function [ function gmssl_cert_verify_by_ca_cert ] { - Parameters [3] { Parameter #0 [ $cert ]...

===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Check if gmssl is loaded [tests/sm4_gcm.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 44 --------------------------------------------------------------------- Number of tests :...