Developing formulae or casks #4861
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That makes no sense, the checksum is there to ensure you get the correct file. If I point the cask to https://releases.threema.ch/web-electron/v1/release/Threema-compromised.dmg and sign that it is still a bad file.
We don't dynamically download checksums so that doesn't help for brew. The only way that brew can start using a checksum is if there is a versioned download from threema. Otherwise any update will break the cask for everyone until |
Beta Was this translation helpful? Give feedback.
-
In the meantime, I've found a versioned alias for Threema downloads. In the threema-formula url "https://releases.threema.ch/web-electron/archive/latest-#{version}/Threema-Latest.dmg" Also, a file containing the sha256-sum can be retrieved by appending A script could be written that updates the But how is this typically handled in homebrew? I see specialized solutions like action-homebrew-bump-formula, but my use case seems pretty standard. |
Beta Was this translation helpful? Give feedback.
That makes no sense, the checksum is there to ensure you get the correct file. If I point the cask to https://releases.threema.ch/web-electron/v1/release/Threema-compromised.dmg and sign that it is still a bad file.
We don't dynamically download checksums so that doesn't help for brew.
The only way that brew can start using a checksum is if there is a versioned download from threema. Otherwise any update will break the cask for ever…