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
Describe the bug
MainWP misreports LibreSSL/3.3.6 (default on new Macs, released March 15th 2022) as lower than OpenSSL 1.1.0 (released 25 August 2016) and in need of upgrade.
To Reproduce
Run MainWP on a system that uses LibreSSL 3.3.6, such as a Mac running Local.
Read the System Requirements Check during the setup wizard.
Expected behavior
There is no warning reading, "Your host needs to update OpenSSL to at least version 1.1.0…".
Screenshots
MainWP instead shows a warning.
Desktop:
OS: macOS 14.4
Browser: n/a
Version: n/a
Additional context
Cause seems to be:
get_curl_ssl_version will return "(SecureTransport) LibreSSL/3.3.6" on systems with that version of LibreSSL like macOS 14.4.
A comparison is then made between the fixed minimum required value of OpenSSL/1.1.0 and the inferred SSL version, resulting in a version_compare call here of version_compare("(SecureTransport) LibreSSL/3.3.6", "OpenSSL/1.1.0", ">="); which will always return false due to the differing prefix.
Could be fixed by adjusting curl_sslcompare to account for LibreSSL, which was forked from OpenSSL in 2014 and could be in use on systems other than macOS.
The text was updated successfully, but these errors were encountered:
Describe the bug
MainWP misreports LibreSSL/3.3.6 (default on new Macs, released March 15th 2022) as lower than OpenSSL 1.1.0 (released 25 August 2016) and in need of upgrade.
To Reproduce
Expected behavior
There is no warning reading, "Your host needs to update OpenSSL to at least version 1.1.0…".
Screenshots
MainWP instead shows a warning.
Desktop:
Additional context
Cause seems to be:
OpenSSL/1.1.0
and the inferred SSL version, resulting in a version_compare call here ofversion_compare("(SecureTransport) LibreSSL/3.3.6", "OpenSSL/1.1.0", ">=");
which will always return false due to the differing prefix.Could be fixed by adjusting
curl_sslcompare
to account for LibreSSL, which was forked from OpenSSL in 2014 and could be in use on systems other than macOS.The text was updated successfully, but these errors were encountered: