What changed, and why it matters
This commit changes a Dockerfile used to build Monero GUI for Linux. It patches the OpenSSL build configuration so that the resulting binaries look for SSL/TLS certificate files in the standard Linux location (/etc/ssl) instead of a non-standard path inside the build environment. This is a build-hygiene fix that helps ensure TLS certificate validation works correctly in the final application, which matters for secure network connections such as those used by the wallet.
Treat as a build reliability and defense-in-depth improvement. Verify that the resulting Linux binaries correctly resolve /etc/ssl/certs/ca-certificates.crt (or equivalent) and that TLS connections to remote nodes and update services succeed. Replace the sed workaround with a proper upstream fix in the depends package once available. No immediate emergency response is indicated, but include this fix in release notes.
Security signals we found
TLS/SSL certificate path configuration changed in build pipeline
Workaround for incorrect OpenSSL openssldir in dependency build
Potential risk of TLS verification failures if certificate store is unreachable
Build-time sed patch rather than upstream fix
Evidence from the diff
The Dockerfile.linux change uses sed to rewrite the openssldir setting in /depends/packages/openssl.mk from $(host_prefix)/etc/openssl to /etc/ssl before building dependencies. The commit message frames this as a workaround for an incorrect SSL certificate folder. The effect is that OpenSSL in the produced build will use the conventional system certificate directory rather than a build-prefix-relative path that likely does not exist on end-user systems. Correct certificate lookup is necessary for successful TLS chain validation when the wallet connects to remote nodes, update servers, or other HTTPS services.
Changed components
Dockerfile.linuxOpenSSL dependency build configuration in /depends/packages/openssl.mkLinux x86_64 Monero GUI build artifactsInspect captured patch +3 / −1
### Dockerfile.linux
@@ -29,7 +29,9 @@ RUN git clone -b v0.18.5.1 --depth 1 https://github.com/monero-project/monero &&
cd .. && \
rm -rf monero
-RUN make -j"$THREADS" -C /depends HOST=x86_64-linux-gnu
+# TODO: Remove this workaround once a better solution is found.
+RUN sed -i 's|--openssldir=$(host_prefix)/etc/openssl|--openssldir=/etc/ssl|' /depends/packages/openssl.mk && \
+ make -j"$THREADS" -C /depends HOST=x86_64-linux-gnu
# Use the pinned upstream CMake binary without changing the compiler or glibc
# baseline. The Linux x86_64 binaries require glibc 2.17 or newer.Why this scored 26/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.