|
1 | 1 | {% capture /dev/null %}<!-- suppress render of this part -->
|
2 | 2 | <!-- Copyright 2013 - 2016 The Bitcoin.org Project.
|
3 |
| - Copyright 2017 The BitcoinCore.org Project |
| 3 | + Copyright 2017 - 2018 The BitcoinCore.org Project |
4 | 4 | This file is licensed under the MIT License (MIT) available on
|
5 | 5 | http://opensource.org/licenses/MIT. -->
|
6 | 6 | {% assign VERSION_SORTED_RELEASES = site.releases | sort: 'release' | reverse %}
|
7 | 7 | {% capture CURRENT_RELEASE %}{% for subver in VERSION_SORTED_RELEASES[0].release %}{{subver}}{% unless forloop.last %}.{% endunless %}{% endfor %}{% endcapture %}
|
8 | 8 | {% assign magnet = VERSION_SORTED_RELEASES[0].optional_magnetlink %}
|
9 | 9 | {% capture PATH_PREFIX %}/bin/bitcoin-core-{{CURRENT_RELEASE}}{% endcapture %}
|
10 | 10 | {% capture FILE_PREFIX %}bitcoin-{{CURRENT_RELEASE}}{% endcapture %}
|
| 11 | +{% assign SIGNING_KEY_FINGERPRINT = "01EA5486DE18A882D4C2684590C8019E36C2E964" %} |
| 12 | +{% capture SIGNING_KEY_FINGERPRINT_EXPLODED %}{% include fingerprint-split.html hex=SIGNING_KEY_FINGERPRINT %}{% endcapture %} |
| 13 | +{% assign GPG_DOWNLOAD_URL = "https://www.gnupg.org/download/index.en.html#binary" %} |
| 14 | +{% assign GPG_MACOS_DOWNLOAD_URL = "https://gpgtools.org/" %} |
| 15 | +{% assign GPG_WINDOWS_DOWNLOAD_URL = "https://gpg4win.org/download.html" %} |
| 16 | +{% assign GITIAN_REPOSITORY_URL = "https://github.com/bitcoin-core/gitian.sigs" %} |
11 | 17 | {% endcapture %}
|
12 | 18 | <link rel="alternate" type="application/rss+xml" href="/en/releasesrss.xml" title="Bitcoin Core releases">
|
13 | 19 | <div class="download">
|
@@ -74,14 +80,173 @@ <h2>{{ page.latestversion }} {{CURRENT_RELEASE}} <a type="application/rss+xml" h
|
74 | 80 | </p>
|
75 | 81 | <p class="downloadkeys">
|
76 | 82 | <span>{{ page.releasekeys }}</span>
|
77 |
| - <a href="/keys/laanwj-releases.asc">v0.11.0+</a> |
| 83 | + <a href="/keys/laanwj-releases.asc">v0.11.0+</a> <code title="{{page.pgp_key_fingerprint}}">{{SIGNING_KEY_FINGERPRINT}}</code> |
78 | 84 | </p>
|
79 | 85 | </div>
|
80 | 86 |
|
81 |
| - <h2><img src="/assets/images/icons/note.svg" class="warningicon" alt="note">{{ page.patient }}</h2> |
82 |
| - <p>{{ page.notesync | replace: '$(DATADIR_SIZE)', site.data.stats.datadir_gb | replace: '$(PRUNED_SIZE)', site.data.stats.pruned_gb | replace: '$(MONTHLY_RANGE_GB)', site.data.stats.monthly_storage_increase_range_gb }} {{ page.full_node_guide }}</p> |
83 |
| - <p>{{ page.notelicense }}</p> |
84 | 87 | </div>
|
| 88 | + |
| 89 | + <h2 style="text-align: center">{{ page.patient }}</h2> |
| 90 | + <p>{{ page.notesync | replace: '$(DATADIR_SIZE)', site.data.stats.datadir_gb | replace: '$(PRUNED_SIZE)', site.data.stats.pruned_gb | replace: '$(MONTHLY_RANGE_GB)', site.data.stats.monthly_storage_increase_range_gb }} {{ page.full_node_guide }}</p> |
| 91 | + |
| 92 | +{% if page.version > 1 %} |
| 93 | + <h2 style="text-align: center">{{page.verify_download}}</h2> |
| 94 | + <p>{{page.verification_recommended}}</p> |
| 95 | + <details> |
| 96 | + {% assign GPG = "C:\Program Files\Gnu\GnuPg\gpg.exe" %} |
| 97 | + <summary><strong>{{page.windows_instructions}}</strong></summary> |
| 98 | + <ol> |
| 99 | + <li><p>{{page.download_release}}</p></li> |
| 100 | + |
| 101 | + <li><p>{{page.download_checksums}} <a href="{{ PATH_PREFIX }}/SHA256SUMS.asc">SHA256SUMS.asc</a></p></li> |
| 102 | + |
| 103 | + <li><p>{{page.cd_to_downloads}}</p> |
| 104 | + |
| 105 | + <pre class="highlight"><code>{{page.cd_example_windows}}</code></pre> |
| 106 | + |
| 107 | + </li> |
| 108 | + |
| 109 | + {% capture windows_example_binary %}{{FILE_PREFIX}}-{{site.data.binaries.win64exe}}{% endcapture %} |
| 110 | + <li><p>{{page.generate_checksum | replace: "$(FILE)", windows_example_binary}}</p> |
| 111 | + |
| 112 | + <pre class="highlight"><code>certUtil -hashfile {{windows_example_binary}} SHA256</code></pre></li> |
| 113 | + |
| 114 | + <li><p>{{page.ensure_checksum_matches}}</p> |
| 115 | + |
| 116 | + <pre class="highlight"><code>type SHA256SUMS.asc</code></pre></li> |
| 117 | + |
| 118 | + <li><p>{{page.install_gpg}} <a |
| 119 | + href="{{GPG_WINDOWS_DOWNLOAD_URL}}">{{page.gpg_download_page}}</a> |
| 120 | + {{page.gpg_download_other}} |
| 121 | + <a href="{{GPG_DOWNLOAD_URL}}">{{page.gpg_download_options}}</a></p></li> |
| 122 | + |
| 123 | + <li><p>{{page.obtain_release_key}}</p> |
| 124 | + |
| 125 | + <pre class="highlight"><code>{{GPG}} --recv-keys {{SIGNING_KEY_FINGERPRINT}}</code></pre> |
| 126 | + |
| 127 | + <p>{{page.release_key_obtained}}</p></li> |
| 128 | + |
| 129 | + <li>{{page.verify_checksums_file}} |
| 130 | + |
| 131 | + <pre class="highlight"><code>{{GPG}} --verify SHA256SUMS.asc</code></pre></li> |
| 132 | + |
| 133 | + <li><p>{{page.check_gpg_output}}</p> |
| 134 | + <ol><li><p>{{page.line_starts_with}} <code>gpg: {{page.localized_gpg_good_sig}}</code></p></li> |
| 135 | + <li><p>{{page.complete_line_saying}} <code>{{page.localized_gpg_primary_fingerprint}} {{SIGNING_KEY_FINGERPRINT_EXPLODED}}</code></p></li> |
| 136 | + </ol> |
| 137 | + |
| 138 | + <p>{{page.gpg_trust_warning}}</p></li> |
| 139 | + |
| 140 | + </ol> |
| 141 | + </details> |
| 142 | + <details> |
| 143 | + {% assign GPG = "gpg" %} |
| 144 | + <summary><strong>{{page.macos_instructions}}</strong></summary> |
| 145 | + <ol> |
| 146 | + <li><p>{{page.download_release}}</p></li> |
| 147 | + |
| 148 | + <li><p>{{page.download_checksums}} <a href="{{ PATH_PREFIX }}/SHA256SUMS.asc">SHA256SUMS.asc</a></p></li> |
| 149 | + |
| 150 | + <li><p>{{page.cd_to_downloads}}</p> |
| 151 | + |
| 152 | + <pre class="highlight"><code>{{page.cd_example_linux}}</code></pre> |
| 153 | + |
| 154 | + </li> |
| 155 | + |
| 156 | + <li><p>{{page.verify_download_checksum}}</p> |
| 157 | + |
| 158 | + <pre class="highlight"><code>shasum -a 256 --check SHA256SUMS.asc</code></pre> |
| 159 | + |
| 160 | + <p>{{page.checksum_warning_and_ok | replace, "$(SHASUMS_OK)", page.localized_checksum_ok}} <code>{{FILE_PREFIX}}{{site.data.binaries.macdmg}}: {{page.localized_checksum_ok}}</code></p></li> |
| 161 | + |
| 162 | + <li><p>{{page.install_gpg}} <a |
| 163 | + href="{{GPG_MACOS_DOWNLOAD_URL}}">{{page.gpg_download_page}}</a> |
| 164 | + {{page.gpg_download_other}} |
| 165 | + <a href="{{GPG_DOWNLOAD_URL}}">{{page.gpg_download_options}}</a></p></li> |
| 166 | + |
| 167 | + <li><p>{{page.obtain_release_key}}</p> |
| 168 | + |
| 169 | + <pre class="highlight"><code>gpg --recv-keys {{SIGNING_KEY_FINGERPRINT}}</code></pre> |
| 170 | + |
| 171 | + <p>{{page.release_key_obtained}}</p></li> |
| 172 | + |
| 173 | + <li>{{page.verify_checksums_file}} |
| 174 | + |
| 175 | + <pre class="highlight"><code>gpg --verify SHA256SUMS.asc</code></pre></li> |
| 176 | + |
| 177 | + <li><p>{{page.check_gpg_output}}</p> |
| 178 | + <ol><li><p>{{page.line_starts_with}} <code>gpg: {{page.localized_gpg_good_sig}}</code></p></li> |
| 179 | + <li><p>{{page.complete_line_saying}} <code>{{page.localized_gpg_primary_fingerprint}} {{SIGNING_KEY_FINGERPRINT_EXPLODED}}</code></p></li> |
| 180 | + </ol> |
| 181 | + |
| 182 | + <p>{{page.gpg_trust_warning}}</p></li> |
| 183 | + </ol> |
| 184 | + </details> |
| 185 | + |
| 186 | + <details> |
| 187 | + <summary><strong>{{page.linux_instructions}}</strong></summary> |
| 188 | + <ol> |
| 189 | + <li><p>{{page.download_release}}</p></li> |
| 190 | + |
| 191 | + <li><p>{{page.download_checksums}} <a href="{{ PATH_PREFIX }}/SHA256SUMS.asc">SHA256SUMS.asc</a></p></li> |
| 192 | + |
| 193 | + <li><p>{{page.cd_to_downloads}}</p> |
| 194 | + |
| 195 | + <pre class="highlight"><code>{{page.cd_example_linux}}</code></pre> |
| 196 | + |
| 197 | + </li> |
| 198 | + |
| 199 | + <li><p>{{page.verify_download_checksum}}</p> |
| 200 | + |
| 201 | + <pre class="highlight"><code>sha256sum --ignore-missing --check SHA256SUMS.asc</code></pre> |
| 202 | + |
| 203 | + <p>{{page.checksum_warning_and_ok | replace, "$(SHASUMS_OK)", page.localized_checksum_ok}} <code>{{FILE_PREFIX}}-{{site.data.binaries.lin64}}: {{page.localized_checksum_ok}}</code></p></li> |
| 204 | + |
| 205 | + <li><p>{{page.obtain_release_key}}</p> |
| 206 | + |
| 207 | + <pre class="highlight"><code>gpg --recv-keys {{SIGNING_KEY_FINGERPRINT}}</code></pre> |
| 208 | + |
| 209 | + <p>{{page.release_key_obtained}}</p></li> |
| 210 | + |
| 211 | + <li>{{page.verify_checksums_file}} |
| 212 | + |
| 213 | + <pre class="highlight"><code>gpg --verify SHA256SUMS.asc</code></pre></li> |
| 214 | + |
| 215 | + <li><p>{{page.check_gpg_output}}</p> |
| 216 | + <ol><li><p>{{page.line_starts_with}} <code>gpg: {{page.localized_gpg_good_sig}}</code></p></li> |
| 217 | + <li><p>{{page.complete_line_saying}} <code>{{page.localized_gpg_primary_fingerprint}} {{SIGNING_KEY_FINGERPRINT_EXPLODED}}</code></p></li> |
| 218 | + </ol> |
| 219 | + |
| 220 | + <p>{{page.gpg_trust_warning}}</p></li> |
| 221 | + |
| 222 | + </ol> |
| 223 | + </details> |
| 224 | + |
| 225 | + <details> |
| 226 | + <summary><strong>{{page.ubuntu_ppa_instructions}}</strong></summary> |
| 227 | + |
| 228 | + <p>{{page.ubuntu_notice}}</p> |
| 229 | + |
| 230 | + <blockquote>{{page.ubuntu_ppa_quote}}</blockquote> |
| 231 | + </details> |
| 232 | + |
| 233 | + <h2 style="text-align: center">{{page.build_reproduction}}</h2> |
| 234 | + |
| 235 | + <p>{{page.additional_steps}}</p> |
| 236 | + |
| 237 | + <ul> |
| 238 | + <li><p><em>{{page.reproducible_builds}}</em> {{page.build_identical_binaries}}</p></li> |
| 239 | + |
| 240 | + <li><p><em>{{page.verified_reproduction}}</em> {{page.independently_reproducing}}</p></li> |
| 241 | + </ul> |
| 242 | + |
| 243 | + <p>{{page.verifying_and_reproducing}} <a href="{{GITIAN_REPOSITORY_URL}}">{{page.gitian_repository}}</a>.</p> |
| 244 | +{% endif %}{% comment %}END VERSION > 1 CONTENT{% endcomment %} |
| 245 | + |
| 246 | +<hr> |
| 247 | + |
| 248 | +<p>{{ page.notelicense }}</p> |
| 249 | + |
85 | 250 | <script type="text/javascript">
|
86 | 251 | var os = 'windows32';
|
87 | 252 | if (navigator.userAgent.indexOf('Mac') != -1) var os = 'mac'
|
|
0 commit comments