plugin bundling scripts need to check checksum when downloading #2539
Labels
bug
Something isn't working
headlamp-plugin
Related to the headlamp-plugin NPM package.
plugins
release
Related to releasing
security
Describe the bug
There are some plugin bundling scripts for the app and the container image which download plugins without checking their checksums. The risk is that some files might be corrupted or changed.
Related files:
Probably there are other files that call these.
The
package
command generates a sha256 checksum, so probably we should use that?We might want to think of this holistically as being part of the publishing process.
Additional Context
Probably this functionality should live in headlamp-plugin. Currently it's in two different scripts.
The text was updated successfully, but these errors were encountered: