feat: initial wipe implementation - block device safety, HDD overwrite, NVMe/secure-discard, verification

This commit is contained in:
changchichung
2026-09-01 10:56:53 +08:00
commit 5470eb0e8d
40 changed files with 5767 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
[package]
name = "wipe"
version = "0.1.0"
edition = "2021"
description = "Secure block device wipe and hardware erase orchestration tool"
license = "MIT"
authors = ["changchichung"]
repository = "https://github.com/changchichung/wipe"
keywords = ["shred", "wipe", "secure-erase", "nvme", "block-device"]
categories = ["command-line-utilities"]
[[bin]]
name = "wipe"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
anyhow = "1.0"
indicatif = "0.17"
rand = "0.8"
rand_chacha = "0.3"
nix = { version = "0.27", features = ["ioctl", "fs"] }
libc = "0.2"
ctrlc = "3.4"
atty = "0.2"
[dev-dependencies]
tempfile = "3.10"
assert_cmd = "2.0"
predicates = "3.1"