feat(tvix/store): Add CAHash validation
Validation is done inside ingest_nar_and_hash and is used by Fetch::NAR and the nar-bridge. Change-Id: I7e2be4cc13d2447035f1e5a444f44b62339988bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/12836 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
ae76eaa761
commit
8ef9ba82a8
9 changed files with 300 additions and 62 deletions
|
|
@ -23,7 +23,9 @@ serde = { workspace = true, features = ["derive"] }
|
|||
serde_json = { workspace = true }
|
||||
serde_with = { workspace = true }
|
||||
serde_qs = { workspace = true }
|
||||
sha1 = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
md-5 = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true, features = ["fs", "macros", "net", "rt", "rt-multi-thread", "signal"] }
|
||||
tokio-listener = { workspace = true, features = ["clap", "multi-listener", "sd_listen", "tonic012"] }
|
||||
|
|
@ -61,6 +63,7 @@ rstest = { workspace = true }
|
|||
rstest_reuse = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
tokio-retry = { workspace = true }
|
||||
hex-literal = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["cloud", "fuse", "otlp", "tonic-reflection"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue