mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-11-22 08:13:59 +00:00
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.
23 lines
475 B
TOML
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"] }
|