ci: pin openssl 3 and unbound on windows (#185)
What changed, and why it matters
This is a routine continuous-integration (CI) build fix for the Windows build pipeline. The project pinned older versions of OpenSSL and Unbound because the MSYS2 package repository upgraded to newer versions that the underlying Monero C++ code cannot currently compile against. There is no security vulnerability being fixed here; it is purely a compatibility/workflow maintenance change.
No security action required. Treat as normal CI maintenance. If reviewing supply-chain risk, note that the workflow now downloads archived MSYS2 packages and verifies SHA-256 hashes before installation.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies .github/workflows/build.yml for the Windows (MINGW64) CI job. MSYS2’s mingw64 repository moved to OpenSSL 4 and dropped the unbound package, so the build now downloads archived OpenSSL 3.6.5 and Unbound 1.26.2 packages directly from repo.msys2.org, verifies their SHA-256 checksums, and installs them with pacman -Udd. It also swaps the openssl package for curl-winssl so cmake does not depend on OpenSSL 4 DLLs. This is a dependency-version pinning change to restore buildability, not a security patch.
Changed components
.github/workflows/build.ymlInspect captured patch +11 / −2
### .github/workflows/build.yml
@@ -205,13 +205,13 @@ jobs:
with:
msystem: MINGW64
update: true
+ # curl-winssl keeps cmake working without the openssl 4 dlls that the openssl step below replaces
install: >-
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake
- mingw-w64-x86_64-openssl
+ mingw-w64-x86_64-curl-winssl
mingw-w64-x86_64-zeromq
mingw-w64-x86_64-libsodium
- mingw-w64-x86_64-unbound
mingw-w64-x86_64-protobuf
mingw-w64-x86_64-expat
mingw-w64-x86_64-icu
@@ -222,6 +222,15 @@ jobs:
base-devel
wget
+ - name: Install openssl v3.6.5 and unbound v1.26.2
+ run: |
+ # mingw64 moved to openssl 4, which monero does not compile against, and removed unbound; install the archived openssl 3 builds
+ wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-3.6.5-1-any.pkg.tar.zst https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-unbound-1.26.2-1-any.pkg.tar.zst
+ echo "389d1af21e99223d9e2cd32d4c073131b276da85be7636bd8d23571f6938864f mingw-w64-x86_64-openssl-3.6.5-1-any.pkg.tar.zst" | sha256sum -c
+ echo "478826706a4f520a763ba953c17c799ef6c96c7194815c1cc23335ec806df4b6 mingw-w64-x86_64-unbound-1.26.2-1-any.pkg.tar.zst" | sha256sum -c
+ # skip unbound's ldns dependency, which libunbound does not use
+ pacman -Udd --noconfirm mingw-w64-x86_64-openssl-3.6.5-1-any.pkg.tar.zst mingw-w64-x86_64-unbound-1.26.2-1-any.pkg.tar.zst
+
- name: Install hidapi v0.15.0 and libusb v1.0.30
run: |
# removed from the msys2 mingw64 repo; install the archived packagesWhy this scored 15/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.