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 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 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
PHP : /usr/local/Cellar/php/8.1.12/bin/php-cgi
PHP_SAPI : cgi-fcgi
PHP_VERSION : 8.1.12
ZEND_VERSION: 4.1.12
PHP_OS : Darwin - Darwin heyangfandeMacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
PHP : /usr/local/Cellar/php/8.1.12/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 8.1.12
ZEND_VERSION: 4.1.12
PHP_OS : Darwin - Darwin heyangfandeMacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
CWD : /Users/heyangfan/Downloads/GmSSL-PHP-main
Extra dirs :
VALGRIND : Not used
TIME START 2023-07-19 05:57:55
PASS Check if gmssl is loaded [tests/cert.phpt]
PASS Check if gmssl is loaded [tests/consts.phpt]
PASS Check if gmssl is loaded [tests/rand_bytes.phpt]
FAIL Check if gmssl is loaded [tests/sm2.phpt]
PASS Check if gmssl is loaded [tests/sm3.phpt]
PASS Check if gmssl is loaded [tests/sm3_hmac.phpt]
PASS Check if gmssl is loaded [tests/sm3_pbkdf2.phpt]
PASS Check if gmssl is loaded [tests/sm4.phpt]
PASS Check if gmssl is loaded [tests/sm4_cbc.phpt]
PASS Check if gmssl is loaded [tests/sm4_ctr.phpt]
FAIL Check if gmssl is loaded [tests/sm4_gcm.phpt]
PASS Check if gmssl is loaded [tests/sm9_enc.phpt]
PASS Check if gmssl is loaded [tests/sm9_sign.phpt]
PASS Check if gmssl is loaded [tests/zuc.phpt]
TIME END 2023-07-19 05:58:00
=====================================================================
TEST RESULT SUMMARY
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 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
PHP : /usr/local/Cellar/php/8.1.12/bin/php-cgi
PHP_SAPI : cgi-fcgi
PHP_VERSION : 8.1.12
ZEND_VERSION: 4.1.12
PHP_OS : Darwin - Darwin heyangfandeMacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
PHP : /usr/local/Cellar/php/8.1.12/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 8.1.12
ZEND_VERSION: 4.1.12
PHP_OS : Darwin - Darwin heyangfandeMacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
INI actual : /Users/heyangfan/Downloads/GmSSL-PHP-main/tmp-php.ini
More .INIs :
CWD : /Users/heyangfan/Downloads/GmSSL-PHP-main
Extra dirs :
VALGRIND : Not used
TIME START 2023-07-19 05:57:55
PASS Check if gmssl is loaded [tests/cert.phpt]
PASS Check if gmssl is loaded [tests/consts.phpt]
PASS Check if gmssl is loaded [tests/rand_bytes.phpt]
FAIL Check if gmssl is loaded [tests/sm2.phpt]
PASS Check if gmssl is loaded [tests/sm3.phpt]
PASS Check if gmssl is loaded [tests/sm3_hmac.phpt]
PASS Check if gmssl is loaded [tests/sm3_pbkdf2.phpt]
PASS Check if gmssl is loaded [tests/sm4.phpt]
PASS Check if gmssl is loaded [tests/sm4_cbc.phpt]
PASS Check if gmssl is loaded [tests/sm4_ctr.phpt]
FAIL Check if gmssl is loaded [tests/sm4_gcm.phpt]
PASS Check if gmssl is loaded [tests/sm9_enc.phpt]
PASS Check if gmssl is loaded [tests/sm9_sign.phpt]
PASS Check if gmssl is loaded [tests/zuc.phpt]
TIME END 2023-07-19 05:58:00
=====================================================================
TEST RESULT SUMMARY
Exts skipped : 0
Exts tested : 63
Number of tests : 14 14
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 2 ( 14.3%) ( 14.3%)
Tests passed : 12 ( 85.7%) ( 85.7%)
Time taken : 5 seconds
=====================================================================
FAILED TEST SUMMARY
Check if gmssl is loaded [tests/sm2.phpt]
Check if gmssl is loaded [tests/sm4_gcm.phpt]
The text was updated successfully, but these errors were encountered: