mirror of
https://github.com/games-on-whales/unraid-plugin.git
synced 2026-10-15 13:02:00 +00:00
[GH-ISSUE #79] Declare the SHA256 of settings-ui.txz in gow.plg #29
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/unraid-plugin#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unraid-ca-review-bot on GitHub (Sep 3, 2026).
Original GitHub issue: https://github.com/games-on-whales/unraid-plugin/issues/79
This plugin is currently listed in Community Applications, and it will be subject to removal from CA if an integrity hash is not added.
gow.plgdeclares no<MD5>or<SHA256>forsettings-ui.txz, so nothing pins what installs as root: whatever the release URL serves on the day is what gets installed. A declared hash on every download is now required for plugins to remain in CA.This is filed as an issue rather than a pull request because your
.plgis published as a release asset and the package is built in CI, so a hash committed tomainwould be wrong the moment the next release is built. The fix belongs inauto-release.yml, and you are already most of the way there.What is needed
One
<SHA256>line inside the<FILE>element that downloads the package:with
&sha256;declared alongside your other entities:For reference, the value for the current release
2026.08.19ais:settings-ui.txz— 58,864 bytes —e2fe70ad5a757339357a159597c61bf03558c05f38aa6acb18c1e70f19c66f64The hash is static: it is the SHA-256 of the file as built. Whenever
settings-ui.txzchanges, the<SHA256>value must change with it or the plugin will fail to install. Generating it in the release workflow, as below, means there is never a value to update by hand.Suggested change to
auto-release.ymlYour Generate checksums step already computes exactly this value into
dist/settings-ui.txz.sha256. Substituting it into the copy ofgow.plgthat is attached to the release, after the package is built and before Create GitHub release, is enough:The
gow.plgonmainkeeps the placeholder; the releasedgow.plg, which is what&pluginURL;points at, carries the real hash.With the hash declared, Unraid's plugin installer verifies the download against it and refuses to install a package that does not match. It also skips re-downloading a package that is already present on the flash and matches.
<MD5>is also accepted by Unraid if that fits better;<SHA256>is the stronger choice and is preferred when both are present.What this does not cover
This concerns the missing integrity hash and nothing else. It is not a review of anything else in the plugin.
This came out of the Community Applications integrity review of plugins already in the feed. The suggested change is offered as a convenience, not a demand; how you implement it is your call. The requirement to add a hash stands either way.
@JBailes commented on GitHub (Sep 4, 2026):
Fixed.