OSX 10.10 Yosemite公開リリースのSHA1ハッシュ?


10

信頼性の低いインターネット接続を使用しているため、App StoreからのYosemiteのダウンロードが何度か失敗しました。ダウンロードに問題がないかどうか知りたいのですが。ターミナルでこのコマンドを実行できる場合:

shasum /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg

結果を共有します。このようにして、クリーンなコピーがどのように見えるかに同意できます。

回答:


10

私はあなたのリクエストを実行し、ここに結果があります。

eebf02a20ac27665a966957eec6f5e6fe3228a19  /Applications/Install OS X Yosemite.app/Contents/SharedSupport/InstallESD.dmg

ヨセミテ10.10.1のシャサムは次のとおりです。

a673c2c6d967f4da2934b7d6cf3736936970b194

ターミナルが番号を取得するまで、1〜2分お待ちください。


ありがとう。それを「6時間43分」でコラボできるようになり、その答えを確認します。
2014年

1
うん。これは私にとっても同じ結果です。
2014年

1
別の結果が出た場合、どういう意味ですか?私はこれを得た:> 059f2603a91465bcee24c864d446da30df920f85 / Applications / Install OS X Yosemite.app/Contents/SharedSupport/InstallESD.dmg
Amanda

@Amanda使用しようとしているヨセミテ(バージョン?)
Ruskes

2
@GrahamPerrinファイル/アプリが利用できないため確認できませんが、他の参照は以前に投稿したのと同じハッシュを参照しています。例:github.com/drduh/OS-X-Security-and-Privacy-Guide / blob / master /…
djule5 2016

8

代わりに署名をチェックしてみませんか?そうすれば、外部のチェックサムに依存する必要がなくなります。

これは、Mavericksインストーラーで実行した例です(まだYosemiteインストーラーはありません)。

$ codesign -dvvv Install\ OS\ X\ Mavericks.app/
Executable=…/Install OS X Mavericks.app/Contents/MacOS/Install OS X Mavericks
Identifier=com.apple.InstallAssistant.Mavericks
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20100 size=285 flags=0x200(kill) hashes=7+3 location=embedded
Hash type=sha1 size=20
CDHash=9bf12663fe5f73d2780eb2badc2fe7a86a2c7164
Signature size=4169
Authority=Apple Mac OS Application Signing
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Info.plist entries=30
TeamIdentifier=not set
Sealed Resources version=1 rules=14 files=80
Internal requirements count=1 size=124

署名はダウンロードの整合性をチェックするのにどのように役立ちますか?詳しく説明できますか?
2014年

1
デジタル署名は、ファイルが改ざんされていないか破損していることを確認する方法であり、改ざんされている場合は無効になります。デジタル署名は暗号化に基づいており、偽造が非常に困難になるように設計されています。
ジョナス

10
それが無効かどうかはどうやってわかりますか?このコマンドをOS X Yosemiteインストーラーで実行し、.appディレクトリにファイルを追加してみました。また、version.plistを変更しようとしましたが、このコマンドの出力は変更されませんでした。
Henrik N

@HenrikNそれは素晴らしい質問です。見つけた場合(または自分で作成した場合)、リンクを共有してください。
Graham Perrin、2016

@GrahamPerrinこれは2年前だったので、やる気はありませんが、必要に応じてそれを実行してください:)
Henrik N

1

10.10の承認済みの回答を補完する


10.10.1

Install OS X Yosemite.appのバージョン1.6.7(1014)

a673c2c6d967f4da2934b7d6cf3736936970b194


10.10.2

アプリのバージョン1.6.10(1017)

059f2603a91465bcee24c864d446da30df920f85

承認された回答のリビジョン2とは異なりますのでご注意ください。そのリビジョンに追加された結果は、本当に10.10のものでした。


10.10.3

アプリのバージョン1.6.16(1023)

dc4d4d0a7cd4aea4514025d23a58d05107369fa9


10.10.5

アプリのバージョン1.6.43(1043)。最初に2016-07-17(日曜日)にApp Storeからダウンロードされ、2016-07-18に再度ダウンロードされます。

0e063fd87d5b0a4f68dbd35da95b2018748f88eb

https://github.com/drduh/OS-X-Security-and-Privacy-Guide/blob/master/InstallESD_Hashes.csv受け入れ答えの下のコメントから

ef5cc8851b893dbe4bc9a5cf5c648c10450af6bc

不一致について:https : //github.com/drduh/OS-X-Security-and-Privacy-Guide/issues/125


.5の小切手の記録

Mashemite:Desktop grahamperrin$ cd /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/
Mashemite:SharedSupport grahamperrin$ shasum InstallESD.dmg
0e063fd87d5b0a4f68dbd35da95b2018748f88eb  InstallESD.dmg
Mashemite:SharedSupport grahamperrin$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12
BuildVersion:   16A239m
Mashemite:SharedSupport grahamperrin$

–およびMac OS Xへの参照:SHA-1ダイジェストを確認する方法-Appleサポート

Mashemite:SharedSupport grahamperrin$ openssl sha1 InstallESD.dmg 
SHA1(InstallESD.dmg)= 0e063fd87d5b0a4f68dbd35da95b2018748f88eb
Mashemite:SharedSupport grahamperrin$ 

.3、.2、および.1の小切手の記録

$ sudo zfs mount
zhandy                          /Volumes/zhandy
$ pwd
/Volumes/zhandy/chronological/OS X/10/10/3/1.6.16 (1023)/Install OS X Yosemite.app/Contents/SharedSupport
$ time shasum InstallESD.dmg
dc4d4d0a7cd4aea4514025d23a58d05107369fa9  InstallESD.dmg
13.47user 2.21system 4:25.25elapsed 5%CPU (0avgtext+0avgdata 6864maxresident)k
11084834inputs+0outputs (0major+762minor)pagefaults 0swaps
$ cd /Volumes/zhandy/chronological/OS\ X/10/10/2/1.6.10\ \(1017\)/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/
$ time shasum InstallESD.dmg
059f2603a91465bcee24c864d446da30df920f85  InstallESD.dmg
12.66user 2.03system 3:52.58elapsed 6%CPU (0avgtext+0avgdata 6732maxresident)k
10182180inputs+0outputs (0major+760minor)pagefaults 0swaps
$ cd /Volumes/zhandy/chronological/OS\ X/10/10/1/1.6.7\ \(1014\)/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/
$ time shasum InstallESD.dmg
a673c2c6d967f4da2934b7d6cf3736936970b194  InstallESD.dmg
12.39user 1.95system 3:36.28elapsed 6%CPU (0avgtext+0avgdata 6804maxresident)k
10159544inputs+0outputs (0major+762minor)pagefaults 0swaps
$ sudo zpool status
[sudo] password for grahamperrin: 
  pool: zhandy
 state: ONLINE
status: The pool is formatted using a legacy on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on software that does not support
        feature flags.
  scan: scrub in progress since Sun Jul 17 19:22:15 2016
    26.9G scanned out of 513G at 15.7M/s, 8h50m to go
    0 repaired, 5.25% done
config:

        NAME                                        STATE     READ WRITE CKSUM
        zhandy                                      ONLINE       0     0     0
          ata-SAMSUNG_HM641JI_S2HUJ9FBA00492-part2  ONLINE       0     0     0

errors: No known data errors
$ date ; uname -a
Sun 17 Jul 20:05:10 BST 2016
Linux momh167-gjp4-kubuntu-hpelitebook850g2 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ 

.3、.2、および.1のチェックサムデータがディスクに書き込まれてから変更されていないことの確実性

$ date ; sudo zpool status
Mon 18 Jul 04:29:41 BST 2016
[sudo] password for grahamperrin: 
  pool: zhandy
 state: ONLINE
status: The pool is formatted using a legacy on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on software that does not support
        feature flags.
  scan: scrub repaired 0 in 7h43m with 0 errors on Mon Jul 18 03:05:25 2016
config:

        NAME                                        STATE     READ WRITE CKSUM
        zhandy                                      ONLINE       0     0     0
          ata-SAMSUNG_HM641JI_S2HUJ9FBA00492-part2  ONLINE       0     0     0

errors: No known data errors
$ 

10.10.1のアプリのバージョンが1.6.7であることを確認する

$ cd /Volumes/zhandy/chronological/OS\ X/10/10/1/1.6.7\ \(1014\)/Install\ OS\ X\ Yosemite.app/Contents/
$ cat version.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>BuildAliasOf</key>
        <string>InstallAssistant</string>
        <key>BuildVersion</key>
        <string>286</string>
        <key>CFBundleShortVersionString</key>
        <string>1.6.7</string>
        <key>CFBundleVersion</key>
        <string>1014</string>
        <key>ProjectName</key>
        <string>InstallAssistant_MAS</string>
        <key>SourceVersion</key>
        <string>532000000000000</string>
</dict>
</plist>
$ 

10.10.4では、インストーラーをダウンロードしたことはありません。


弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.