What changed, and why it matters
This commit changes the macOS build instructions to install a specific, pinned version of OpenSSL (version 3) rather than whatever the latest version happens to be. It also tells the build system exactly where that pinned version is located. This is a supply-chain and build-reliability hardening change: it reduces the chance that a future, incompatible, or unexpectedly vulnerable OpenSSL update breaks the build or gets bundled into Monero GUI releases without review.
Treat as a low-risk build-hardening improvement. Reviewers should confirm that `openssl@3` remains supported and that the pinned path is consistent with the Homebrew environment used in CI. No emergency action is warranted.
Security signals we found
Pins a critical cryptographic dependency (OpenSSL) to a known major version
Adds explicit OPENSSL_ROOT_DIR to prevent CMake from picking up an unintended OpenSSL installation
Reduces supply-chain risk from unpinned Homebrew formula updates
No vulnerability fix, exploit mitigation, or bug patch is present in the diff
Evidence from the diff
The GitHub Actions workflow for macOS was updated to install openssl@3 explicitly instead of the unversioned openssl formula, and the CMake invocation now sets OPENSSL_ROOT_DIR="$(brew --prefix openssl@3)". This pins the build against a known OpenSSL major version and prevents CMake from resolving to a different/newer OpenSSL installation that Homebrew may provide later. It is a defensive build-hardening measure rather than a runtime code change.
Changed components
.github/workflows/build.ymlmacOS CI/build pipelineOpenSSL dependency resolution for macOS bundlesInspect captured patch +2 / −1
### .github/workflows/build.yml
@@ -91,7 +91,7 @@ jobs:
if: matrix.arch == 'ARM'
run: sudo xcode-select --switch /Applications/Xcode_16.2.app/Contents/Developer
- name: install dependencies
- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi libsodium ninja openssl pkg-config protobuf unbound zeromq aria2
+ run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi libsodium ninja openssl@3 pkg-config protobuf unbound zeromq aria2
- name: download Qt
run: mkdir qt6 && cd qt6 && python3 ../monero-gui/.github/qt_helper.py mac_x64 desktop 6.12.0 clang_64 2db37b3a5f2da2ea0fc922e1d476b9eb326cd9ad43e539519e4281f2f9ff8888
working-directory: ../
@@ -100,6 +100,7 @@ jobs:
cmake -S . -B build -G Ninja
-D CMAKE_PREFIX_PATH="/Users/runner/work/monero-gui/qt6/"
-D CMAKE_OSX_DEPLOYMENT_TARGET="14.4"
+ -D OPENSSL_ROOT_DIR="$(brew --prefix openssl@3)"
-D ARCH=default
- name: build
run: cmake --build buildWhy this scored 28/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.