Skip to content

Commit d801e32

Browse files
committed
download: update verification procedure for macOS
checked with macOS Monterey (12.6.5) on M1 MacBook Air
1 parent 0ef7c4f commit d801e32

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

_includes/templates/download.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@
2424
{% endcapture %}
2525

2626
{% assign GPG_DOWNLOAD_URL = "https://www.gnupg.org/download/index.en.html#binary" %}
27+
{% assign GPG_VERIFY_KEYS_URL = "https://www.gnupg.org/gph/en/manual/x334.html" %}
2728
{% assign GPG_MACOS_DOWNLOAD_URL = "https://gpgtools.org/" %}
2829
{% assign GPG_WINDOWS_DOWNLOAD_URL = "https://gpg4win.org/download.html" %}
2930
{% assign GUIX_REPOSITORY_URL = "https://github.com/bitcoin-core/guix.sigs" %}
31+
{% assign GUIX_REPOSITORY_NAME = "guix.sigs" %}
32+
{% assign BUILDER_KEYS_DIR = "builder-keys" %}
3033
{% endcapture %}
3134
<link rel="alternate" type="application/rss+xml" href="/en/releasesrss.xml" title="Bitcoin Core releases">
3235
<div class="download">
@@ -207,7 +210,9 @@ <h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.ve
207210

208211
<p>{{page.release_key_obtained}}</p></li>
209212

210-
<li><p>{{page.choosing_builders | replace: '$(BUILDER_KEYS_URL)', page.builder_keys_url }}</p></li>
213+
<li>{{page.choosing_builders}}
214+
215+
<pre class="highlight"><code>git clone {{GUIX_REPOSITORY_URL}}</code><br><code>gpg --import {{GUIX_REPOSITORY_NAME}}/{{BUILDER_KEYS_DIR}}/*</code></pre></li>
211216

212217
<li>{{page.verify_checksums_file}}
213218

@@ -218,7 +223,9 @@ <h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.ve
218223
<li><p>{{page.complete_line_saying}} <code>{{page.localized_gpg_primary_fingerprint}} {{SIGNING_KEY_FINGERPRINT_EXPLODED}}</code></p></li>
219224
</ol>
220225

221-
<p>{{page.gpg_trust_warning | replace: '$(SHORT_BUILDER_KEY)', SHORT_BUILDER_KEY }}</p></li>
226+
<p>{{page.gpg_trust_warning | replace: '$(SHORT_BUILDER_KEY)', SHORT_BUILDER_KEY }}
227+
<a href="{{GPG_VERIFY_KEYS_URL}}">{{page.verify_keys}}</a>
228+
</p></li>
222229
</ol>
223230
</details>
224231

_posts/en/pages/2017-01-01-download.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,17 @@ obtain_release_key: >
9797
9898
choosing_builders: >
9999
It is recommended that you choose a few individuals from this list who you find
100-
trustworthy and import their keys as above, or import all the keys per the
101-
instructions in the <a href="$(BUILDER_KEYS_URL)"><code>contrib/builder-key</code>
102-
README</a>. You will later use their keys to check the signature attesting to the
103-
validity of the checksums you use to check the binaries.
100+
trustworthy and import their keys as above. You will later use their keys to
101+
check the signature attesting to the validity of the checksums you use to check
102+
the binaries. You can import all keys at once by cloning the repo and importing the directory:
104103
105104
release_key_obtained: "The output of the command above should say that one key was imported, updated, has new signatures, or remained unchanged."
106105

107106
verify_checksums_file: "Verify that the checksums file is PGP signed by a sufficient amount of keys you trust and have imported into your keychain:"
108107

109108
check_gpg_output: >
110109
The command above will output a series of signature checks for each of the public
111-
keys that signed the checksums. Each signature will show the following text:
110+
keys that signed the checksums. Each valid signature will show the following text:
112111
113112
line_starts_with: "A line that starts with:"
114113
complete_line_saying: "A complete line saying:"
@@ -120,6 +119,8 @@ gpg_trust_warning: >
120119
<code>$(SHORT_BUILDER_KEY)</code>) listed in the second line above matches what
121120
you had expected for the signers public key.
122121
122+
verify_keys: "See the GNU handbook section on key management for more details."
123+
123124
localized_checksum_ok: "OK"
124125
localized_gpg_good_sig: "Good signature"
125126
localized_gpg_primary_fingerprint: "Primary key fingerprint:"

0 commit comments

Comments
 (0)