Skip to content

Update download signature verification with new builder keys location #957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

darosior
Copy link
Member

Untested HTML and english, but wanted to get the ball rolling to fix #945 since it's starting to confuse some users.

key using this command:</p>
<p>For example, you could load the key <a
href='$(BUILDER_KEYS_URL)/$(EXAMPLE_BUILDER_KEY_FILE)'><code>
builder-keys/$(EXAMPLE_BUILDER_KEY_FILE)</code></a> by downloading the file as <code>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Being vague on purpose about downloading the file since i don't think a curl -sS https://raw.githubusercontent.com/bitcoin-core/guix.sigs/main/builder-keys/fanquake.gpg | gpg --import would be portable to Windows. And downloading a file should be straightforward enough?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using the raw... link here instead of the github file viewing UI does make it a bit easier for users. From the raw URL I can right click (in firefox/macOS) and "save as..." but currently the page you see when you click here has no explicit download button.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2023-05-08 at 4 26 34 PM

Huh never mind! Did GH just change this interface? Raw copy and download buttons are, in fact, just fine right there.

Copy link
Contributor

@pinheadmz pinheadmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concept ACK.
I had to rebase on #826 to build locally, then followed the steps for macOS and besides a few comments below, it worked. I will try to follow the steps on Ubuntu and Windows later this week for completeness

key using this command:</p>
<p>For example, you could load the key <a
href='$(BUILDER_KEYS_URL)/$(EXAMPLE_BUILDER_KEY_FILE)'><code>
builder-keys/$(EXAMPLE_BUILDER_KEY_FILE)</code></a> by downloading the file as <code>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using the raw... link here instead of the github file viewing UI does make it a bit easier for users. From the raw URL I can right click (in firefox/macOS) and "save as..." but currently the page you see when you click here has no explicit download button.

<p>For example, you could load the key <a
href='$(BUILDER_KEYS_URL)/$(EXAMPLE_BUILDER_KEY_FILE)'><code>
builder-keys/$(EXAMPLE_BUILDER_KEY_FILE)</code></a> by downloading the file as <code>
$(EXAMPLE_BUILDER_KEY_FILE)</code> and using this command:</p>

choosing_builders: >
It is recommended that you choose a few individuals from this list who you find
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section needs an update as well, there is no more README in the specified link.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, macOS step 10 (gpg_trust_warning) is not entirely clear, or it could just be my version of gpg...

Current:

Screen Shot 2023-03-27 at 1 27 11 PM

Actual (example, one good one bad):
Screen Shot 2023-03-27 at 1 27 56 PM

@fanquake fanquake changed the title Update downlad signature verification with new builder keys location Update download signature verification with new builder keys location Apr 17, 2023
@achow101
Copy link
Member

achow101 commented May 5, 2023

@darosior are you still working on this? Would be good to get these changes in.

@darosior
Copy link
Member Author

darosior commented May 5, 2023

If someone is able to apply the feedback from @pinheadmz before i am, please do.

EDIT: to reformulate more clearly i'd be glad if someone grabs this up. Otherwise i'll get back to it because i agree it's important.

@pinheadmz
Copy link
Contributor

I'll open a new PR with you as co-author in the next few days and finish up there 💪

@darosior
Copy link
Member Author

darosior commented May 6, 2023 via email

@pinheadmz pinheadmz mentioned this pull request May 9, 2023
@fanquake
Copy link
Member

fanquake commented May 9, 2023

Included in #964.

@fanquake fanquake closed this May 9, 2023
@pinheadmz
Copy link
Contributor

Included in #964.

dang you're fast

achow101 added a commit that referenced this pull request May 9, 2023
bfbf19d download: update translation for Español (Matthew Zipkin)
9dc9a0f Update 2017-01-01-download.md (Robert Spigler)
30dca75 download: update verification procedure for linux (Matthew Zipkin)
d801e32 download: update verification procedure for macOS (Matthew Zipkin)
0ef7c4f Update downlad signature verification with new builder keys location (Antoine Poinsot)

Pull request description:

  Closes #945
  Closes #957 (included)
  Closes #807 (included)
  Closes #878

  download + verify procedure tested on macOS and Linux. I will go through it again on Windows tonight and add one more commit for that.

ACKs for top commit:
  achow101:
    ACK bfbf19d

Tree-SHA512: 8281dac8f4acdd43f4cdcaf16d5eef48040e3c14cd7f0ecbe25ced009b51aad536991486c4dd076eddc856b051923d8a92174f136db553bd931d08d3627da06a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verification docs outdated
4 participants