[SERVER-35620] downloaded file integrity: use shasum instead of python script Created: 15/Jun/18  Updated: 29/Oct/23  Resolved: 19/Jun/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.11, 4.0.6, 4.1.1

Type: Improvement Priority: Minor - P4
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Platforms 2018-06-18, Platforms 2018-07-02
Participants:

 Description   

We use buildscripts/sha256.py because OSX doesn't have sha256sum.

But it does have shasum which does the same thing and more.

 



 Comments   
Comment by Githook User [ 29/Jan/19 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue'}

Message: SERVER-35620 Use 'shasum -a 256' for tarball integrity.

Instead of using in-house Python.
Refactor fetch_and_build_openssl.sh

workaround for old shasum stdin bug

(cherry picked from commit e8abf50355b49e845fc9d0bd79337c5f3ee4629d)
Branch: v3.6
https://github.com/mongodb/mongo/commit/66c56578a7f608f29cb5a9823b3be8f9c1117fe4

Comment by Githook User [ 11/Jan/19 ]

Author:

{'username': 'BillyDonahue', 'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue'}

Message: SERVER-35620 Use 'shasum -a 256' for tarball integrity.

Instead of using in-house Python.
Refactor fetch_and_build_openssl.sh

workaround for old shasum stdin bug

(cherry picked from commit 4e614564d032bc9133ac46319b588b4b62cee304)
Branch: v4.0
https://github.com/mongodb/mongo/commit/e8abf50355b49e845fc9d0bd79337c5f3ee4629d

Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'BillyDonahue', 'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com'}

Message: SERVER-35620 Use 'shasum -a 256' for tarball integrity.

Instead of using in-house Python.
Refactor fetch_and_build_openssl.sh

workaround for old shasum stdin bug
Branch: master
https://github.com/mongodb/mongo/commit/4e614564d032bc9133ac46319b588b4b62cee304

Generated at Thu Feb 08 04:40:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.