Skip to content

Update install.sh for dynamic sha256 checksum verification#5

Open
ulricvbs wants to merge 1 commit into
devcontainers-community:mainfrom
ulricvbs:install-sha256update
Open

Update install.sh for dynamic sha256 checksum verification#5
ulricvbs wants to merge 1 commit into
devcontainers-community:mainfrom
ulricvbs:install-sha256update

Conversation

@ulricvbs
Copy link
Copy Markdown

Updated the installation script to retrieve the applicable sha256 checksum file dynamically from the dart-archive to verify the archive file. Checksum files follow the same URL as the zip with a .sha256 extension added to the end (https://dart.dev/get-dart/archive). For instance, the latest stable release:

https://storage.googleapis.com/dart-archive/channels/stable/release/3.7.2/sdk/dartsdk-linux-x64-release.zip
https://storage.googleapis.com/dart-archive/channels/stable/release/3.7.2/sdk/dartsdk-linux-x64-release.zip.sha256sum

Updated to retrieve the applicable sha256 checksum file from the dart-archive for dynamically to verify the archive file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant