Azure / homebrew-kubelogin

Homebrew tap for Azure kubelogin
MIT License
5 stars 10 forks source link

BUG: brew install Azure/kubelogin/kubelogin fails with "kubelogin: SHA256 mismatch" error #19

Open sjagannathan22 opened 1 year ago

sjagannathan22 commented 1 year ago

Steps:

  1. I am trying to install azure/kubelogin/kubelogin plugin using homebrew to to connect to AAD enabled cluster, using the below commands: % brew install Azure/kubelogin/kubelogin ==> Fetching azure/kubelogin/kubelogin ==> Downloading https://github.com/Azure/kubelogin/releases/download/v0.0.30/kubelogin-darwin-amd64.zip ==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/250050091/ab72cbb9-dce7-471b-ad9e-2290df257f8 -=O=- # # # # Error: kubelogin: SHA256 mismatch Expected: f986909e6216610614e50396a8ff26635bd513d6d8929db00af86681e1a0a454 Actual: 3a806f4b640620bffc3c6189dd443b4ca233c176d036f63f40a0063bcb34ef72 File: /Users/saritha.jagannathan/Library/Caches/Homebrew/downloads/5d0be18bb56600fcbfabad22dcb2c0f5e94803e5a792245f7ff46169f2dab105--kubelogin-darwin-amd64.zip To retry an incomplete download, remove the file above.

  2. I removed the file, restarted the machine and tried the same command above again, but got the same error

Expected Outcome: I expect the installation to be successful without any errors.

Additional Information: % brew gist-logs azure/kubelogin/kubelogin Error: No logs.

% brew config brew config HOMEBREW_VERSION: 4.1.6 ORIGIN: https://github.com/Homebrew/brew HEAD: 3cd72905ce3d36a84994cc6c6b9ebbdafff4e922 Last commit: 6 days ago Core tap JSON: 23 Aug 23:15 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 12 Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: dodeca-core 64-bit kabylake Clang: 14.0.3 build 1403 Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 7.88.1 => /usr/bin/curl macOS: 13.4.1-x86_64 CLT: 14.3.1.0.1.1683849156 Xcode: 14.3.1

% brew doctor Your system is ready to brew.

cgslalom commented 8 months ago

I am having the same issue.

VNBharadwaja commented 5 months ago

I'm also facing the same issue. @cgslalom @sjagannathan22 were you able to fix it?