[package]
name = "passbox"
version = "2.1.0"
edition = "2024"
description = "A password store for agents, where a fingerprint releases one secret into one process"
license = "MIT"
repository = "https://github.com/gabrielkoerich/passbox"
homepage = "https://passbox.gabrielkoerich.com"
readme = "README.md"
keywords = ["secrets", "password", "agents", "touch-id"]
categories = ["authentication", "command-line-utilities"]
include = ["/src/**", "/plugins/**", "/swift/**", "/build.rs", "/README.md", "/SKILL.md", "/LICENSE"]
[features]
default = ["host"]
host = []
mock-enclave = ["host"]
[[bin]]
name = "fake-enclave"
path = "src/bin/fake-enclave.rs"
required-features = ["mock-enclave"]
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"
expect_used = "allow"
panic_in_result_fn = "warn"
missing_panics_doc = "warn"
missing_errors_doc = "warn"
missing_assert_message = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
undocumented_unsafe_blocks = "warn"
multiple_unsafe_ops_per_block = "warn"
fn_params_excessive_bools = "warn"
struct_excessive_bools = "warn"
clone_on_ref_ptr = "warn"
redundant_clone = "warn"
rc_buffer = "warn"
exhaustive_enums = "warn"
string_add = "warn"
wildcard_imports = "warn"
absolute_paths = "warn"
dbg_macro = "warn"
todo = "warn"
print_stdout = "warn"
print_stderr = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
module_inception = "allow"
enum_glob_use = "allow"
[dependencies]
age = { version = "0.12.1", features = ["plugin", "cli-common"] }
anyhow = "1.0.104"
clap = { version = "4.6.7", features = ["derive"] }
hex = "0.4.3"
libc = "0.2.180"
rand = "0.10.3"
rpassword = "7.4.0"
secrecy = "0.10.3"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
sha2 = "0.10.9"
signature = "2.2.0"
ssh-key = { version = "0.6.7", default-features = false, features = ["std", "ed25519", "p256"] }
toml = "0.9.8"
zeroize = "1.9.0"
[dev-dependencies]
tempfile = "3.24.0"