[[example]]
name = "connector_http_server"
required-features = ["http-server", "usb"]
[dependencies.aes]
version = "0.8"
[dependencies.bitflags]
version = "2"
[dependencies.cbc]
version = "0.1"
[dependencies.ccm]
features = ["std"]
optional = true
version = "0.5"
[dependencies.cmac]
version = "0.7"
[dependencies.digest]
default-features = false
optional = true
version = "0.10"
[dependencies.ecdsa]
default-features = false
version = "0.16"
[dependencies.ed25519]
version = "2"
[dependencies.ed25519-dalek]
features = ["rand_core"]
optional = true
version = "2"
[dependencies.hmac]
optional = true
version = "0.12"
[dependencies.k256]
features = ["ecdsa", "sha256"]
optional = true
version = "0.13"
[dependencies.log]
version = "0.4"
[dependencies.p256]
default-features = false
features = ["ecdsa"]
version = "0.13"
[dependencies.p384]
default-features = false
features = ["ecdsa"]
version = "0.13"
[dependencies.pbkdf2]
default-features = false
features = ["hmac"]
optional = true
version = "0.12"
[dependencies.rand_core]
features = ["std"]
version = "0.6"
[dependencies.rusb]
optional = true
version = "0.9"
[dependencies.serde]
features = ["serde_derive"]
version = "1"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.sha2]
optional = true
version = "0.10"
[dependencies.signature]
features = ["derive"]
version = "2"
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "1"
[dependencies.time]
features = ["serde"]
version = "0.3"
[dependencies.tiny_http]
optional = true
version = "0.12"
[dependencies.uuid]
default-features = false
version = "1"
[dependencies.zeroize]
features = ["zeroize_derive"]
version = "1"
[dev-dependencies.ed25519-dalek]
version = "2"
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.p256]
features = ["ecdsa"]
version = "0.13"
[dev-dependencies.rsa]
version = "0.9"
[features]
default = ["http", "passwords", "setup"]
http = []
http-server = ["tiny_http"]
mockhsm = ["ccm", "digest", "ecdsa/arithmetic", "ed25519-dalek", "p256/ecdsa", "secp256k1"]
passwords = ["hmac", "pbkdf2", "sha2"]
secp256k1 = ["k256"]
setup = ["passwords", "serde_json", "uuid/serde"]
untested = ["sha2"]
usb = ["rusb"]
[package]
authors = ["Tony Arcieri <tony@iqlusion.io>"]
categories = ["cryptography", "hardware-support"]
description = "Pure Rust client for YubiHSM2 devices with support for HTTP and\nUSB-based access to the device. Supports most HSM functionality\nincluding ECDSA, Ed25519, HMAC, and RSA.\n"
documentation = "https://docs.rs/yubihsm"
edition = "2021"
keywords = ["ecdsa", "ed25519", "hmac", "hsm", "yubikey"]
license = "Apache-2.0 OR MIT"
name = "yubihsm"
readme = "README.md"
repository = "https://github.com/iqlusioninc/yubihsm.rs"
rust-version = "1.67"
version = "0.42.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]