Skip to content
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

Fix #15517: Link to the new SHA512 checksum #15675

Closed
wants to merge 1 commit into from

Conversation

xeraa
Copy link

@xeraa xeraa commented Dec 19, 2017

We don't provide SHA1 any more for 6.0+ artefacts, so the link is currently broken. Also switched to checking the integrity directly instead of comparing hashes.

Related blog post: https://www.elastic.co/blog/sha512-checksums-for-elastic-stack-artifacts

This fixes #15517 and is similar to an Elasticsearch PR.

Will cherry-pick to 6.0, 6.1, and 6.x if approved.

Also check the integrity directly
Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and sorry about the delay. One comment about the {version} variable.

<1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-linux-x86_64.tar.gz.sha1[published SHA].
<1> Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output
`kibana-{version}-linux-x86_64.tar.gz: OK`.
Copy link
Member

Choose a reason for hiding this comment

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

The {version} variable doesn't seem to work with inline code blocks. @debadair any ideas if there's a workaround? I couldn't find anything.

@xeraa
Copy link
Author

xeraa commented Jan 22, 2018

Keen eye, I introduced the same problem at https://www.elastic.co/guide/en/elasticsearch/reference/6.0/zip-targz.html#install-zip. If this is not possible, I'll rephrase it.

@jbudz
Copy link
Member

jbudz commented Mar 30, 2018

Hey @xeraa I semi-reopened this at #17478. It has the minimum amount of changes. If we figure things out here or you want to make any changes feel free, but I'm going to close this pending any updates

@jbudz jbudz closed this Mar 30, 2018
@xeraa xeraa deleted the fix-sha512-download-docs branch March 30, 2018 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shasum for Kibana missing in docs
2 participants