[package]
edition = "2024"
rust-version = "1.87"
name = "kc-cli"
version = "0.1.0"
authors = ["Bryan Matteson <7145232+bryanmatteson@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read and write macOS keychain files without the Security framework"
homepage = "https://github.com/bryanmatteson/keychain-tools"
documentation = "https://docs.rs/kc-cli"
readme = "README.md"
keywords = [
"keychain",
"macos",
"passwords",
"security",
]
categories = [
"command-line-utilities",
"cryptography",
"os::macos-apis",
]
license = "MIT"
repository = "https://github.com/bryanmatteson/keychain-tools"
[features]
default = []
trust-apps = [
"dep:macho-codesign",
"dep:macho-core",
]
[lib]
name = "kc"
path = "src/lib.rs"
[[bin]]
name = "kc"
path = "src/bin/kc.rs"
[[test]]
name = "kc_cli"
path = "tests/kc_cli.rs"
[[test]]
name = "kc_options"
path = "tests/kc_options.rs"
[[test]]
name = "keychain_acl"
path = "tests/keychain_acl.rs"
[[test]]
name = "keychain_container"
path = "tests/keychain_container.rs"
[[test]]
name = "keychain_crypto"
path = "tests/keychain_crypto.rs"
[[test]]
name = "keychain_identity"
path = "tests/keychain_identity.rs"
[[test]]
name = "keychain_index"
path = "tests/keychain_index.rs"
[[test]]
name = "keychain_interop"
path = "tests/keychain_interop.rs"
[dependencies.base64]
version = "0.22"
[dependencies.cbc]
version = "0.1"
features = ["std"]
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.5"
[dependencies.des]
version = "0.8"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.libc]
version = "0.2"
[dependencies.macho-codesign]
version = "0.4.0"
optional = true
[dependencies.macho-core]
version = "0.4.0"
optional = true
[dependencies.pbkdf2]
version = "0.12"
features = ["hmac"]
[dependencies.rand]
version = "0.8"
[dependencies.rpassword]
version = "7"
[dependencies.serde_json]
version = "1"
[dependencies.sha1]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.zeroize]
version = "1"
features = ["derive"]