[GH-ISSUE #293] Cask Checksum Mismatch v0.9.16, "The application “KeyCastr” can’t be opened." #249

Closed
opened 2026-05-05 05:09:37 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @benjaminabbitt on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/293

Hey folks, I suspect something may be amiss with the release pipeline (or it may be a problem with this corporate machine, I don't have a non-managed mac to test on).

If I attempt to install with brew cask:

$brew --version
Homebrew 4.2.20-68-gb5b37d8

$brew install --cask keycastr                                                                                                
==> Downloading https://github.com/keycastr/keycastr/releases/download/v0.9.16/KeyCastr.app.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/132914/4f1f0697-5466-463c-ab68-e230116e070c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODY
                   #         #           #            #                       -=O=-                                                                                                                     
Error: SHA256 mismatch
Expected: 7ca2e35e29e79ae62d348fc4b3c758dab77f65d933b8ed77881fb252d6a61845
  Actual: 2ce7e8661a9a8b662a9188240c3caa095020239e5e369e0811e6ecdcf9162de1
    File: /Users/babbitt/Library/Caches/Homebrew/downloads/04fdf5108b9896fe4af232df6395a321e648bc69fcd9d17246d08cf9f90d649f--KeyCastr.app.zip
To retry an incomplete download, remove the file above.

If I attempt to download from the release link, I get an error message on launch. The application “KeyCastr” can’t be opened.

I've run the downloaded zip through virustotal (prior to unpacking), which found nothing, so I don't think there's a malicious actor at play, but it looks like something's wrong with the pipeline.

Could ya'll take a look at the archive integrity?

Thanks

Originally created by @benjaminabbitt on GitHub (May 2, 2024). Original GitHub issue: https://github.com/keycastr/keycastr/issues/293 Hey folks, I suspect something may be amiss with the release pipeline (or it may be a problem with this corporate machine, I don't have a non-managed mac to test on). If I attempt to install with brew cask: ``` $brew --version Homebrew 4.2.20-68-gb5b37d8 $brew install --cask keycastr ==> Downloading https://github.com/keycastr/keycastr/releases/download/v0.9.16/KeyCastr.app.zip ==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/132914/4f1f0697-5466-463c-ab68-e230116e070c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODY # # # # -=O=- Error: SHA256 mismatch Expected: 7ca2e35e29e79ae62d348fc4b3c758dab77f65d933b8ed77881fb252d6a61845 Actual: 2ce7e8661a9a8b662a9188240c3caa095020239e5e369e0811e6ecdcf9162de1 File: /Users/babbitt/Library/Caches/Homebrew/downloads/04fdf5108b9896fe4af232df6395a321e648bc69fcd9d17246d08cf9f90d649f--KeyCastr.app.zip To retry an incomplete download, remove the file above. ``` If I attempt to download from the release link, I get an error message on launch. `The application “KeyCastr” can’t be opened.` I've run the downloaded zip through virustotal (prior to unpacking), which found nothing, so I don't think there's a malicious actor at play, but it looks like something's wrong with the pipeline. Could ya'll take a look at the archive integrity? Thanks
Author
Owner

@akitchen commented on GitHub (May 2, 2024):

Hi, I don't think there's an issue with the archive based on my own testing. Have you tried manually removing that cached download and retrying?

$ brew install --cask keycastr  
==> Downloading https://github.com/keycastr/keycastr/releases/download/v0.9.16/KeyCastr.app.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/132914/4f1f0697-5466-463c-ab68-e230116e070c?X-Amz-Al
############################################################################################################################################### 100.0%
==> Installing Cask keycastr
==> Moving App 'KeyCastr.app' to '/Applications/KeyCastr.app'
🍺  keycastr was successfully installed!

$ brew info --cask keycastr
==> keycastr: 0.9.16
https://github.com/keycastr/keycastr
Installed
/opt/homebrew/Caskroom/keycastr/0.9.16 (122B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/k/keycastr.rb
==> Name
KeyCastr
==> Description
Open-source keystroke visualiser
==> Artifacts
KeyCastr.app (App)
==> Analytics
install: 1,262 (30 days), 3,525 (90 days), 11,180 (365 days)
<!-- gh-comment-id:2091052830 --> @akitchen commented on GitHub (May 2, 2024): Hi, I don't think there's an issue with the archive based on my own testing. Have you tried manually removing that cached download and retrying? ``` $ brew install --cask keycastr ==> Downloading https://github.com/keycastr/keycastr/releases/download/v0.9.16/KeyCastr.app.zip ==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/132914/4f1f0697-5466-463c-ab68-e230116e070c?X-Amz-Al ############################################################################################################################################### 100.0% ==> Installing Cask keycastr ==> Moving App 'KeyCastr.app' to '/Applications/KeyCastr.app' 🍺 keycastr was successfully installed! $ brew info --cask keycastr ==> keycastr: 0.9.16 https://github.com/keycastr/keycastr Installed /opt/homebrew/Caskroom/keycastr/0.9.16 (122B) From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/k/keycastr.rb ==> Name KeyCastr ==> Description Open-source keystroke visualiser ==> Artifacts KeyCastr.app (App) ==> Analytics install: 1,262 (30 days), 3,525 (90 days), 11,180 (365 days) ```
Author
Owner

@benjaminabbitt commented on GitHub (May 6, 2024):

I have retried a few times, as well as downloading the file manually and copying it over the local artifact.

Brew works for other applications on this machine.

I'll dig around. Thanks for validating integrity. Must be something w/this machine.

<!-- gh-comment-id:2096173635 --> @benjaminabbitt commented on GitHub (May 6, 2024): I have retried a few times, as well as downloading the file manually and copying it over the local artifact. Brew works for other applications on this machine. I'll dig around. Thanks for validating integrity. Must be something w/this machine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#249
No description provided.