-
-
Notifications
You must be signed in to change notification settings - Fork 150
chore: update cargo toml for release v2.4.0 #1385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "parseable" | ||
version = "2.3.5" | ||
version = "2.4.0" | ||
authors = ["Parseable Team <[email protected]>"] | ||
edition = "2024" | ||
rust-version = "1.88.0" | ||
|
@@ -149,8 +149,8 @@ arrow = "54.0.0" | |
temp-dir = "0.1.14" | ||
|
||
[package.metadata.parseable_ui] | ||
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.3.5/build.zip" | ||
assets-sha1 = "3e703ef8bedf8ae55fd31713f6267ad14ad3d29d" | ||
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.4.0/build.zip" | ||
assets-sha1 = "04632472a2174328cfea7a91a175f6f3795d7152" | ||
|
||
[features] | ||
debug = [] | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Stop using SHA-1 for release-artifact integrity; switch to SHA-256
SHA-1 has been considered broken for over a decade. Prefer a SHA-256 (or stronger) checksum to avoid collision attacks and to align with modern supply-chain security guidance. Example:
If the build script currently hard-codes
assets-sha1
, add parallel support forassets-sha256
or migrate entirely.🏁 Script executed:
Length of output: 1105
Switch to SHA-256 for parseable_ui assets integrity
The build script and Cargo metadata currently only support SHA-1, which is considered insecure. You’ll need to:
assets-sha1
withassets-sha256
(or add parallel support):• File: Cargo.toml (lines 151–153)
• Read
metadata["assets-sha256"]
instead ofassets-sha1
(currently at lines 104 and 127)• Compute the checksum with SHA-256 (e.g., using the
sha2
crate) rather than Sha1::hexdigest()• Write out a
.sha256
file instead of.sha1
(update thechecksum_path
logic around line 72)Suggested diff in Cargo.toml:
And in build.rs (pseudocode):
These changes will bring artifact validation in line with modern supply-chain security practices.
🤖 Prompt for AI Agents