WEFT_OS/crates/weft-pack/Cargo.toml
Marco Allegretti 39f7ca2a3f
fix(pack): close inventory forgery, serialize ownership changes and refuse to follow links
Names with control characters have no content digest, so a crafted name
can no longer reproduce other inventory lines and drop signed files.
Installs and uninstalls of an ID hold a per-ID lock, so a failed
concurrent install cannot remove the record of the one that won. App
data without a recorded owner goes to a new owner only with
--claim-data. Uninstall releases a record left by an interrupted
install once no data remains. Files are opened without following links
and, on Linux, must be the file that was listed.
2026-10-09 14:04:53 +00:00

20 lines
375 B
TOML

[package]
name = "weft-pack"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
[[bin]]
name = "weft-pack"
path = "src/main.rs"
[dependencies]
weft-ipc-types = { path = "../weft-ipc-types" }
anyhow = "1.0"
ed25519-dalek = { version = "2", features = ["rand_core"] }
sha2 = "0.10"
rand = "0.8"
hex = "0.4"
libc = "0.2"
tar = "0.4"
zstd = "0.13"