Skip to content

invalid sha256 checksum for cask font-0xproto #257274

@joow

Description

@joow

Verification

Description of issue

The installation of the cask font-0xproto fails as the sha256 sum has changed recently due to a repackaging of the distribution without a version change : 0xType/0xProto#138 (comment)
The correct sha256 is 402d046b6056111ae5b974892fe2d6d921c66a64681980ec81db051de05851e7

Note : I tried submitting a PR but the cask doesn't allow it :

brew bump-cask-pr --sha256 402d046b6056111ae5b974892fe2d6d921c66a64681980ec81db051de05851e7 font-0xproto
Error: Whoops, the font-0xproto cask has its version update
pull requests automatically opened by BrewTestBot every ~3 hours!
We'd still love your contributions, though, so try another one
that is excluded from autobump list (i.e. it has 'no_autobump!'
method or 'livecheck' block with 'skip'.)

Command that failed

brew install font-0xproto

Output of command with --verbose --debug

/usr/local/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading font-0xproto
==> Fetching downloads for: font-0xproto
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/5.1.3-8-g94ca4da\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 15.7.5\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/5.1.3-8-g94ca4da\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 15.7.5\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/5.1.3-8-g94ca4da\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 15.7.5\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://github.com/0xType/0xProto/releases/download/2.502/0xProto_2_502.zip
==> Checking quarantine support                                                                                                                                 Downloading   1.2MB/------
/usr/bin/env /usr/bin/xattr -h
/usr/bin/env /Library/Developer/CommandLineTools/usr/bin/swift -target x86_64-apple-macosx15 /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift   Downloaded    1.2MB/  1.2M
==> Quarantine is available.                                                                                                                                    Downloaded    1.2MB/  1.2M
==> Verifying Gatekeeper status of /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip
==> /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip is quarantined          Downloaded    1.2MB/  1.2M
==> Verifying checksum for '1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip'
==> Verifying Gatekeeper status of /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zipading   1.2MB/  1.2M
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip
==> /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip is not quarantined
==> Quarantining /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip
/usr/bin/env /Library/Developer/CommandLineTools/usr/bin/swift -target x86_64-apple-macosx15 /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift /Users/benoit/Library/Caches/Homebrew/downloads/1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip https://github.com/0xType/0xProto/releases/download/2.502/0xProto_2_502.zip https://github.com/0xType/0xProto
==> Verifying checksum for '1f13b30a175b674dc320f145cda6c25f009b7090d823fddf052089099a4c2fae--0xProto_2_502.zip'                                                Downloaded    1.2MB/  1.2M
✘ Cask font-0xproto (2.502)                                                                                                                                     Verifying     1.2MB/  1.2MB
Error: Cask reports different checksum:     179654842a35734034963a9ac4437438d1b48bedb4e1201c13d2eb93d1973e9d
       SHA-256 checksum of downloaded file: 402d046b6056111ae5b974892fe2d6d921c66a64681980ec81db051de05851e7
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:376:in 'Kernel#exit'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:376:in 'Homebrew::Cmd::InstallCmd#run'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.13051/lib/types/private/methods/call_validation.rb:282:in 'UnboundMethod#bind_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.13051/lib/types/private/methods/call_validation.rb:282:in 'T::Private::Methods::CallValidation.validate_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.13051/lib/types/private/methods/_methods.rb:259:in 'block in Homebrew::Cmd::InstallCmd#_on_method_added'
/usr/local/Homebrew/Library/Homebrew/brew.rb:115:in '<main>'

Output of brew doctor and brew config

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  icu4c@77

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc



HOMEBREW_VERSION: 5.1.3-8-g94ca4da
ORIGIN: https://github.com/Homebrew/brew
HEAD: 94ca4dadc0f5ed67f15d7887010f42468e1caf46
Last commit: 66 minutes ago
Branch: main
Core tap JSON: 02 Apr 12:42 UTC
Core cask tap HEAD: 2191da8ee9c389a8404755c45ce011e915609e68
Core cask tap last commit: 80 minutes ago
Core cask tap JSON: 02 Apr 12:42 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DOWNLOAD_CONCURRENCY: 24
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 4.0.2 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.2_1/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 17.0.0 build 1700
Git: 2.53.0 => /usr/local/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.7.5-x86_64
CLT: 26.3.0.0.1.1771626560
Xcode: N/A

Output of brew tap

homebrew/cask

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions