Skip to content

[BUG] Installation script does not verify sha256 checksum #1664

Description

@elliotechne

What did you do

  • Searched for sha256 and found the following, without the sha256sum command being ran anywhere:

| # installFile verifies the SHA256 for the file, then unpacks and
| # installs it.

installFile() {
echo "Preparing to install $APP_NAME into ${K3D_INSTALL_DIR}"
runAsRoot chmod +x "$K3D_TMP_FILE"
runAsRoot cp "$K3D_TMP_FILE" "$K3D_INSTALL_DIR/$APP_NAME"
echo "$APP_NAME installed into $K3D_INSTALL_DIR/$APP_NAME"
}

What did you expect to happen

sha256sum to be referenced somewhere in the script.

Screenshots or terminal output

https://claude.ai/share/ff270513-54c9-419c-a41b-1d0207182339

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions