WEFT_OS/crates/weft-pack/Cargo.toml
Marco Allegretti c64ee531ee
fix(pack): take the app ID from the staged copy and check copied file identity
The app ID now comes from the staged copy, so a source changed after
validation cannot steer paths outside the store or the owners directory,
and lock_owner refuses invalid IDs. Copied files must keep the device and
inode they were listed with, and are opened without following links or
blocking on FIFOs, which no longer depends on /proc. Uninstall keeps an
owner record while another known store holds the package, and a failure
to inspect app data refuses rather than counting as no data.
2026-10-09 14:13:18 +00:00

23 lines
475 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"
[target.'cfg(target_os = "linux")'.dev-dependencies]
rustix = { version = "1", features = ["fs"] }