Last active
February 8, 2020 02:33
-
-
Save zmwangx/00b011ef81c22e2360275c0bc73e36bd to your computer and use it in GitHub Desktop.
macOS / OS X installer checksums. When I don't have a particular image, I filled as many fields as possible with data from https://github.com/notpeter/apple-installer-checksums and/or https://github.com/drduh/macOS-Security-and-Privacy-Guide/blob/master/InstallESD_Hashes.csv. A list of build numbers can be found in the Apple Support article http…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
die () { echo -E "Error: $*" >&1; exit 1; } | |
# sysver looks like 'macOS 10.12.5 (16F73)' without quotes. | |
sysver="$(system_profiler SPSoftwareDataType | sed -n 's/ System Version: //p')" | |
[[ $sysver =~ '^macOS ([0-9.]+) \(([0-9A-Z]+)\)' ]] || die "Failed to parse ${(q-)sysver}." | |
version=$match[1] | |
build=$match[2] | |
echo "macOS version: $version" >&2 | |
echo "macOS build: $build" >&2 | |
echo >&2 | |
image='/Applications/Install macOS Sierra.app/Contents/SharedSupport/InstallESD.dmg' | |
[[ -f $image ]] || die "${(q-)image} does not exist." | |
for algo in md5 sha1 sha256; do | |
echo "Calculating $algo..." >&2 | |
checksum=$(pv $image | openssl dgst -$algo -binary | xxd -p | tr -d '\n') | |
echo "$algo: $checksum" >&2 | |
: ${(P)algo::=$checksum} | |
done | |
echo >&2 | |
echo "$version,$build,$md5,$sha1,$sha256" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version | Build | MD5 | SHA-1 | SHA-256 | |
---|---|---|---|---|---|
10.12.6 | 16G29 | 174997dd6707873688ef2944e22f0cc2 | b53c36706eef6e0e15c1f76ef51d1b552705fc75 | d93efaaaa9d029b52ac1985043fabf0e6c8d5015841e7338f96ed9e162538b2c | |
10.12.5 | 16F73 | f30c8d26aa8f7683d3572bd0464a445d | 51df126965433187403987c9d74d95c26cba9266 | dae2d71921a737d41df8f00379b7c04653bd35ed8db0f38313f8d86eb7f39f88 | |
10.12.4 | 16E195 | dbfc61de97e8ee9093ee965e6e969639 | 30b9245f7c7608c40bbdf4d4a74f3ab84dbac716 | 30319aeae18c3277919c59fe678201553f5a11022d6966b67a43422996391181 | |
10.12.3 | 16D32 | 6e8131542352bb5417e3a2809051ccb7 | 77d354ec06df0d0acc37c105ae524ba96948142b | 75a288fe6efc0591f757baf08305270f1b843b54cfb66fe6b257049400a0d6e9 | |
10.12.2 | 16C68 | 1ab937e03f9b722c8f702b1d401ace53 | 94f9e8f7ae2540dee6fe3465f60fc037e2547d16 | 6e8ccda1849bb49b1acf75f455019fe327adb47c676dbff018ea811c2456dcce | |
10.12.2 | 16C67 | 43aa19eee715f0aac08cb6783fc35cab | 1432e3be6222c434b536721076ed8b16b1c6050e | 6c2b16f248407a3853a9c4a63efadc94813321708f5eed5c09b73f33e5edd855 | |
10.12.1 | 16B2659 | f7f147c54627c2a9beb1fa318394e1579b30b167 | 8efa85e12bcc6c2145cce68b6ecaf9ce23e11f58c1452982b1907fe0f9f76fd1 | ||
10.12.1 | 16B2657 | 42856038d3089e36c37bb9a3de9b60dd | e559e142a4c9ebaaa740c575d5c3c23c6eb3fb06 | 8608c0cebf689431ad35d37bcb0035aac266c78f95e7e2a3fd8104d153a24e9b | |
10.12 | 16A323 | 98eb1328baa53f5b1e8445c869fcbb3a | 139ef35e4af0da8286b2a3af326cb114d774f606 | 78a2701bb63a0dcb30862314d1a4598522cfe6a2dd2b096a4e30f256909a4446 | |
10.11.6 | 15G31 | 06f6e4a7b1996c542cbda28eb5f7a8f2 | 7739e3f62080000da5d28efa689c53976112a262 | 0b8156957236865e170bc7784bf067ba8b5b231ad8ce45790865e16c9c653615 | |
10.11.5 | 15F34 | 5741cc867e6d99f44192655e5b1e6439 | 850781fe8cb5d88c5d1bc23e704e6686ff1fcc2f | 8be0c4144d79dc0ef275d6bea60db4d23ccf83b22b6c22a99ff35261862b0758 | |
10.11.4 | 15E65 | 1a36088e63612b79a645ec2cff474c5a | f6292573395b46e8110be6077fd4827409bc948b | 532830b2a04b6f496b1cc1b18cc1645d1cda34151c212b68133f41c19d1431ed | |
10.11.3 | 15D21 | e4311d93127d0668372b32e5342f3b455b6bc9bd | bc46b9b02e69546e1446e131d4a8d3b0203a6bbad73a003749571da85f51a613 | ||
10.11.2 | 15C50 | a87d84763cb15c09ded01fa123aeb9d0 | 2b11b8b618a2e5100507c3c432363081db65c4c8 | 8e81dc547f07bc92408d5269983c64cf6ab2206e4d9a1cd94eb6e9003279921b | |
10.11 | 15A284 | d54b388282228df41f40e95649e8bc32 | 5e21097f2e98417ecc12574a7bb46a402594ea4a | d20002ec8328784d65274eb49663b24a48be95dc06c6623ec67c9f28a7481352 | |
10.11.1 | 15B42 | 306a080c07e293b6765ba950bab213572704acec | 6275929722c35674fce90d2272d383d49696096e8626ee7f7900dd0334167a9a | ||
10.10.5 | 14F27 | ff4850735fa0a0a1d706edd21f133ef2 | ef5cc8851b893dbe4bc9a5cf5c648c10450af6bc | 24c4934d91401dd2f738c7811d35ae16d3d7993586592a64b9baf625fe0427db | |
10.10.4 | 14E46 | 700c81ef2c851b29e4d6a57504f9597b | a8da3a4f4499c68559a2bad4ce232f2443a333ca | fbcc33cb5f4e0d372a55e62dac1686921bc86117f91f9e23ad3d5099726129f4 | |
10.10.3 | 14D136 | db80227fc5e9d17be84085eb06abcbe8 | 4b93ff2cef88220a116fbce7c5707c9c57442bd0 | ca7410ed8336cadbce8bf5bc30509bd99408756fb4447a0c19a428e6d5f30018 | |
10.10.2 | 14C109 | 61b0753bd885e20d5edf1d6865b1f9c3 | 059f2603a91465bcee24c864d446da30df920f85 | ||
10.10.1 | 14B25 | a673c2c6d967f4da2934b7d6cf3736936970b194 | |||
10.10 | 14A389 | eebf02a20ac27665a966957eec6f5e6fe3228a19 | |||
10.9.5 | 13F34 | a418ad26903961b060d7df02884a6511 | 4a0a01806be8676cb39fb0ab5d049a198d255538 | e919911880d41810a3e7ee1d667e81d2cb22cf2e65923a560f55584150a17c5a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
10.11.3 (15D21)
MD5:
24c74acc4779b32a01024348c00892dc