[package]
edition = "2021"
name = "dig-keystore"
version = "0.1.2"
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"docs/resources/SPEC.md",
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encrypted secret-key storage for DIG Network binaries (BLS signing + L1 wallet keys). AES-256-GCM + Argon2id, typed per-scheme magic files, zeroizing memory hygiene."
homepage = "https://github.com/DIG-Network/dig-keystore"
documentation = "https://docs.rs/dig-keystore"
readme = "README.md"
keywords = [
"dig-network",
"keystore",
"bls",
"chia",
"encryption",
]
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/DIG-Network/dig-keystore"
[features]
chia-keychain = []
default = ["file-backend"]
eip2335 = []
file-backend = []
password-strength = ["dep:zxcvbn"]
testing = []
[lib]
name = "dig_keystore"
path = "src/lib.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
required-features = ["testing"]
[[test]]
name = "tamper"
path = "tests/tamper.rs"
required-features = ["testing"]
[[test]]
name = "vectors"
path = "tests/vectors.rs"
required-features = ["testing"]
[[test]]
name = "wrong_password"
path = "tests/wrong_password.rs"
required-features = ["testing"]
[dependencies.aes-gcm]
version = "0.10"
[dependencies.argon2]
version = "0.5"
[dependencies.chia-bls]
version = "0.26"
[dependencies.crc32fast]
version = "1"
[dependencies.hex]
version = "0.4"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rand_chacha]
version = "0.3"
[dependencies.rand_core]
version = "0.6"
[dependencies.thiserror]
version = "1"
[dependencies.zeroize]
version = "1.7"
features = ["derive"]
[dependencies.zxcvbn]
version = "3"
optional = true
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"