-
Notifications
You must be signed in to change notification settings - Fork 26
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
brew install for version 0.8.0 -- SHA256 mismatch error #225
Comments
Hey @matthewzoks! Thanks for the report. I wasn't able to reproduce this. I double-checked the expected hash: I already had that version installed, so I updated/upgraded brew, untapped (and then manually removed any leftover bits in: Then ran the following successfully: NOTE: You shouldn't need to do any manual cleanup or untapping, I was just trying to reproduce the issue. The cask downloads the release from GitHub: I'm guessing a couple of things could have happened, a GitHub CDN glitch, or a redirect that wasn't followed (GitHub releases also uses S3). If you are still seeing the issue let us know! include your OS and brew versions, and if possible your general location (it may help narrow down the issue to a CDN) |
Hey Brian,
I'm still having issues with this.
The hash I'm seeing on my download is still not matching:
64f29e4c137c7dab93f3311f31040fc456ec96ea5567b943c93282da0fccac21
*Downloading
https://github.com/okta/okta-cli/releases/download/okta-cli-tools-0.8.0/okta-cli-macos-0.8.0-x86_64.zip
<https://github.com/okta/okta-cli/releases/download/okta-cli-tools-0.8.0/okta-cli-macos-0.8.0-x86_64.zip>*
==> *Downloading from
https://objects.githubusercontent.com/github-production-release-asset-2e65be/199477028/bddf4c00-7eaa-11eb-88ef-57431099a52f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211109%2*
##
My MacOS version is Big Sur 11.6
Homebrew 3.3.3
Homebrew/homebrew-core (git revision 37fa330a788; last commit 2021-11-09)
Homebrew/homebrew-cask (git revision e86cfb1924; last commit 2021-11-09)
I've also downloaded the macos version from the releases page:
https://github.com/okta/okta-cli/releases
and get the same error / hash
64f29e4c137c7dab93f3311f31040fc456ec96ea5567b943c93282da0fccac21
I'm downloading this from the DC area. Any other suggestions on how I can
download this?
Thanks
…On Tue, Oct 19, 2021 at 3:53 PM Brian Demers ***@***.***> wrote:
Hey @matthewzoks <https://github.com/matthewzoks>!
Thanks for the report. I wasn't able to reproduce this. I double-checked
the expected hash:
2d5368a3f17ddd95146a5b691775ad0f233d230dbcfe938fbae5e2a33a3b6b22
I already had that version installed, so I updated/upgraded brew, untapped
(and then manually removed any leftover bits in:
/usr/local/Homebrew/Library/Taps/)
Then ran the following successfully: brew install --cask
oktadeveloper/tap/okta
*NOTE:* You shouldn't need to do any manual cleanup or untapping, I was
just trying to reproduce the issue.
The cask downloads the release from GitHub:
https://github.com/okta/okta-cli/releases/download/okta-cli-tools-#{version}/okta-cli-macos-#{version}-x86_64.zip
I'm guessing a couple of things could have happened, a GitHub CDN glitch,
or a redirect that wasn't followed (GitHub releases also uses S3).
If you are still seeing the issue let us know! include your OS and brew
versions, and if possible your general location (it may help narrow down
the issue to a CDN)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#225 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJB424YQMHY63773EXQ6ILUHXECRANCNFSM5GJTM7IA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Short term fix, you can just download the release: https://github.com/okta/okta-cli/releases I don't want to waste more of your time, but I'd love to figure out why you are seeing this problem. Do you have any virus scanners or (virus scanning firewalls) on your network? |
Thanks Brian,
That worked. My company uses the Netskope client and that has caused me
some issues when upgrading my MacOS, but never an issue on brew installs.
…On Tue, Nov 9, 2021 at 3:57 PM Brian Demers ***@***.***> wrote:
Short term fix, you can just download the release:
https://github.com/okta/okta-cli/releases
Unzip it and stick the binary on your path.
I don't want to waste more of your time, but I'd love to figure out why
you are seeing this problem. Do you have any virus scanners or (virus
scanning firewalls) on your network?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#225 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJB42ZAKAUPLUNKIKU76RLULGDMRANCNFSM5GJTM7IA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks for the follow-up! I'm guessing it's related. It could also be related to the fact that we are currently using a zip format instead of tarball. I'm going to close the issue, but if you see this again, or you ever run into this with a |
Error: SHA256 mismatch
Expected: 2d5368a3f17ddd95146a5b691775ad0f233d230dbcfe938fbae5e2a33a3b6b22
Actual: 64f29e4c137c7dab93f3311f31040fc456ec96ea5567b943c93282da0fccac21
Tried removing the temp download file and brew untap oktadeveloper/tap and brew reinstall okta.
No luck with any of them
The text was updated successfully, but these errors were encountered: