Skip to content

Commit

Permalink
WIP on checksumming with some SBOM support
Browse files Browse the repository at this point in the history
I'm saving this because I'm about to rip the SBOM bits out. The SBOM contains a checksum for
individual files in the released archive, like the executable. Using this would be a pain.
  • Loading branch information
autarch committed Dec 28, 2024
1 parent 43aaa26 commit 5aef08f
Show file tree
Hide file tree
Showing 9 changed files with 455 additions and 27 deletions.
32 changes: 32 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ resolver = "2"
[workspace.dependencies]
anyhow = "1.0.95"
async-trait = "0.1.83"
base16ct = { version = "0.2.0", features = ["alloc", "std"] }
binstall-tar = "0.4.42"
bzip2 = "0.5.0"
clap = { version = "4.5.23", features = ["wrap_help"] }
digest = { version = "0.10.7", features = ["std"] }
document-features = "0.2"
# Used in some test code which can't use test_log.
env_logger = "0.11.6"
Expand All @@ -24,13 +26,16 @@ flate2 = "1.0.35"
itertools = "0.13.0"
lazy-regex = "3.3.0"
log = "0.4.22"
md-5 = "0.10.6"
mockito = "1.6.1"
platforms = "3.5.0"
regex = "1.11.1"
reqwest = { version = "0.12.9", default-features = false, features = ["gzip", "json"] }
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
serial_test = "3.2.0"
sha1 = "0.10.6"
sha2 = "0.10.8"
strum = { version = "0.26.3", features = ["derive"] }
tempfile = "3.14.0"
test-case = "3.3.1"
Expand Down
5 changes: 5 additions & 0 deletions ubi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@ edition.workspace = true
[dependencies]
anyhow.workspace = true
async-trait.workspace = true
base16ct.workspace = true
binstall-tar.workspace = true
bzip2.workspace = true
digest = { workspace = true, features = ["std"] }
document-features.workspace = true
fern = { workspace = true, optional = true }
flate2.workspace = true
itertools.workspace = true
lazy-regex.workspace = true
log.workspace = true
md-5.workspace = true
platforms.workspace = true
regex.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
serial_test.workspace = true
sha1.workspace = true
sha2.workspace = true
strum.workspace = true
tempfile.workspace = true
thiserror.workspace = true
Expand Down
Loading

0 comments on commit 5aef08f

Please sign in to comment.