Pier Angelo Vendrame pushed to branch maint-13.5 at The Tor Project / 
Applications / tor-browser-build


Commits:
6ea176f3 by Pier Angelo Vendrame at 2025-03-03T18:33:04+01:00
Bug 41384: Fix the way we fetch OpenSSL sha256.

OpenSSL used to have only the hash of the source archive in their
.sha256 file, without the archive name.
At a certain point, they moved to the format generated by sha256sum, so
we need to update relprep.py to take that into account.

- - - - -


1 changed file:

- tools/relprep.py


Changes:

=====================================
tools/relprep.py
=====================================
@@ -413,7 +413,7 @@ class ReleasePreparation:
         hash_url = 
f"https://github.com/openssl/openssl/releases/download/openssl-{version}/openssl-{version}.tar.gz.sha256";
         r = requests.get(hash_url)
         r.raise_for_status()
-        source["sha256sum"] = r.text.strip()
+        source["sha256sum"] = r.text.strip()[:64]
         self.save_config("openssl", config)
         logger.debug("Updated OpenSSL to %s and config saved.", version)
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6ea176f3bad0cdd6fc4e39051a4a21e48fa1f325

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6ea176f3bad0cdd6fc4e39051a4a21e48fa1f325
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to