Repository navigation
install-nix: validate installer's hash - #287
Merged
Merged
Conversation
sandydoo
requested changes
Nov 20, 2026
sandydoo
left a comment
Member
There was a problem hiding this comment.
makes it mandatory to provide a hash when using a custom version
This should be optional. The docs should recommend providing a hash and explain what that'll do.
It might also be preferable to mention sha256 in option name, but that's more of a nitpick.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Thank you for the feedback, i pushed your changes in individualized commits:
Would this version work for you? |
Stensel8
pushed a commit
to Stensel8/streamrip
that referenced
this pull request
Nov 24, 2026
…om#127) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cachix/install-nix-action](https://github.com/cachix/install-nix-action) | action | minor | `v32.0.0` → `v32.1.0` | --- ### Release Notes <details> <summary>cachix/install-nix-action (cachix/install-nix-action)</summary> ### [`v32.1.0`](https://github.com/cachix/install-nix-action/releases/tag/v32.1.0) [Compare Source](cachix/install-nix-action@v32.0.0...v32.1.0) #### What's Changed - feat: add `install_sha256` to allow validating the installer's hash by [@​Fumesover](https://github.com/Fumesover) in [#​287](cachix/install-nix-action#287) The action can now verify the SHA-256 hash of the installer before it runs it. This is already enabled for the default installer. When using a custom `install_url`, set `install_sha256` to the hash of that installer to have it verified. This step is optional, but recommended. **Full Changelog**: <cachix/install-nix-action@v32.0.0...v32.1.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Amsterdam) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMiIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJnaXRodWItYWN0aW9ucyJdfQ==--> Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/127 Reviewed-by: Sten T. <stentijhuis@protonmail.com>
Merged
1 task
Stensel8
pushed a commit
to Stensel8/streamrip
that referenced
this pull request
Nov 26, 2026
…om#127) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cachix/install-nix-action](https://github.com/cachix/install-nix-action) | action | minor | `v32.0.0` → `v32.1.0` | --- ### Release Notes <details> <summary>cachix/install-nix-action (cachix/install-nix-action)</summary> ### [`v32.1.0`](https://github.com/cachix/install-nix-action/releases/tag/v32.1.0) [Compare Source](cachix/install-nix-action@v32.0.0...v32.1.0) #### What's Changed - feat: add `install_sha256` to allow validating the installer's hash by [@​Fumesover](https://github.com/Fumesover) in [#​287](cachix/install-nix-action#287) The action can now verify the SHA-256 hash of the installer before it runs it. This is already enabled for the default installer. When using a custom `install_url`, set `install_sha256` to the hash of that installer to have it verified. This step is optional, but recommended. **Full Changelog**: <cachix/install-nix-action@v32.0.0...v32.1.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Amsterdam) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMiIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJnaXRodWItYWN0aW9ucyJdfQ==--> Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/127 Reviewed-by: Sten T. <stentijhuis@protonmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While the nix installer itself validates the hash of its dependencies, this action does not validate the hash of the downloaded script.
This PR validates the sha256 of the download scripts, and makes it mandatory to provide a hash when using a custom version