[package] name = "sequoia-keystore" description = "Sequoia's private key store server." version = "0.6.2" authors = ["Neal H. Walfield "] homepage = "https://sequoia-pgp.org/" repository = "https://gitlab.com/sequoia-pgp/sequoia-keystore" readme = "README.md" keywords = ["cryptography", "openpgp"] categories = ["cryptography"] license = "LGPL-2.0-or-later" edition = "2021" build = "build.rs" rust-version = "1.70" [badges] maintenance = { status = "actively-developed" } [features] default = ["softkeys", "gpg-agent"] softkeys = ["dep:sequoia-keystore-softkeys"] # Note: openpgp-card is currently opt-in. It will become the default # when it has seen more testing. openpgp-card = ["dep:sequoia-keystore-openpgp-card"] # Note: tpm is currently opt-in. It will become the default when it # has seen more testing. tpm = ["dep:sequoia-keystore-tpm"] gpg-agent = ["dep:sequoia-keystore-gpg-agent"] [dependencies] anyhow = "1.0.18" async-generic = "1.1.0" capnp = "0.19" dirs = "5" # Our MSRV is only compatible with 0.10, but we're compatible with # 0.11. env_logger = ">=0.10, <0.12" lazy_static = "1.4.0" log = "0.4.17" paste = "1" sequoia-directories = "0.1" sequoia-ipc = "0.35.1" sequoia-keystore-backend = { path = "../backend", version = "0.6" } sequoia-keystore-softkeys = { path = "../softkeys", version = "0.6", optional = true } sequoia-keystore-gpg-agent = { path = "../gpg-agent", version = "0.4.1", optional = true } sequoia-keystore-openpgp-card = { path = "../openpgp-card", version = "0.1", optional = true } sequoia-keystore-tpm = { path = "../tpm", version = "0.1", optional = true } sequoia-openpgp = { version = "1.17", default-features = false } thiserror = "1.0.2" tokio = { version = "1.21", features = ["rt", "net", "io-std", "macros"] } tokio-util = { version = "0.7", features = ["compat"] } [build-dependencies] capnpc = "0.19" [dev-dependencies] env_logger = ">=0.10, <0.12" test-log = "0.2.10" tracing = {version = "0.1", default-features = false} tracing-subscriber = {version = "0.3", default-features = false, features = ["env-filter"]} dircpy = "0.3" # Enables a crypto backend for the tests: [target.'cfg(not(windows))'.dev-dependencies] sequoia-openpgp = { version = "1", default-features = false, features = ["crypto-nettle", "__implicit-crypto-backend-for-tests"] } # Enables a crypto backend for the tests: [target.'cfg(windows)'.dev-dependencies] sequoia-openpgp = { version = "1", default-features = false, features = ["crypto-cng", "__implicit-crypto-backend-for-tests"] } # Enables a crypto backend for the docs.rs generation: [package.metadata.docs.rs] features = ["sequoia-openpgp/default"]