- Add hex dependency for --key hex decoding - Add KeyArgs (--key, --key-file, --password) as clap arg group on top-level CLI - Replace hardcoded KEY constant with resolve_key() supporting hex and file sources - Refactor pack/unpack to require key parameter, inspect accepts optional key - Wire CLI key resolution to archive functions in main.rs - Inspect works without key (header only) or with key (full TOC listing) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
356 B
TOML
23 lines
356 B
TOML
[package]
|
|
name = "encrypted_archive"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
aes = "0.8"
|
|
cbc = "0.1"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
flate2 = "1.1"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
rand = "0.9"
|
|
rayon = "1.11"
|
|
anyhow = "1.0"
|
|
hex = "0.4"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.16"
|
|
assert_cmd = "2.0"
|
|
hex-literal = "1.1"
|
|
predicates = "3.1"
|