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
Following the Oneinstack project closely and focusing on testing general security and secure integrations with PHP, I've identified a significant optimization point when using libsodium for cryptographic operations (ref: #525). The joint use of libsodium and the GMP library often proves crucial for optimal management of large numbers, exemplified by scenarios such as:
Integrating libsodium and GMP in PHP projects provides significant benefits in terms of performance and security, allowing for more precise and efficient handling of cryptographic data.
To strengthen this integration and optimize the use of libsodium with PHP, I propose including the --with-gmp option in the configuration command for PHP versions 8* and later. This change aims to compile PHP with GMP support enabled by default, thus ensuring better compatibility and performance for applications requiring advanced cryptographic features.
Here is the modified configuration command, including --with-gmp:
Hi,
Following the Oneinstack project closely and focusing on testing general security and secure integrations with PHP, I've identified a significant optimization point when using libsodium for cryptographic operations (ref: #525). The joint use of libsodium and the GMP library often proves crucial for optimal management of large numbers, exemplified by scenarios such as:
Integrating libsodium and GMP in PHP projects provides significant benefits in terms of performance and security, allowing for more precise and efficient handling of cryptographic data.
To strengthen this integration and optimize the use of libsodium with PHP, I propose including the --with-gmp option in the configuration command for PHP versions 8* and later. This change aims to compile PHP with GMP support enabled by default, thus ensuring better compatibility and performance for applications requiring advanced cryptographic features.
Here is the modified configuration command, including
--with-gmp
:// oneinstack/include/php-8.{subversion}.sh
*Although I haven't tested this configuration on PHP versions prior to 8.
Best regards,
Adrian
The text was updated successfully, but these errors were encountered: