[package] name = "yubikey" version = "0.8.0" description = """ Pure Rust cross-platform host-side driver for YubiKey devices from Yubico with support for hardware-backed public-key decryption and digital signatures using the Personal Identity Verification (PIV) application. Supports RSA (1024/2048) or ECC (NIST P-256/P-384) algorithms e.g, PKCS#1v1.5, ECDSA """ authors = ["Tony Arcieri ", "Yubico AB"] license = "BSD-2-Clause" repository = "https://github.com/iqlusioninc/yubikey.rs" readme = "README.md" categories = ["api-bindings", "authentication", "cryptography", "hardware-support"] keywords = ["ecdsa", "encryption", "rsa", "piv", "signature"] edition = "2021" rust-version = "1.81" [workspace] members = [".", "cli"] [workspace.dependencies] sha2 = "=0.11.0-pre.4" x509-cert = { version = "=0.3.0-pre.0", features = [ "builder", "hazmat" ] } [dependencies] bitflags = "2.5.0" der = "=0.8.0-rc.1" des = "=0.9.0-pre.2" elliptic-curve = "=0.14.0-rc.1" hex = { package = "base16ct", version = "0.2", features = ["alloc"] } log = "0.4" nom = "7" num-bigint-dig = { version = "0.8", features = ["rand"] } num-traits = "0.2" num-integer = "0.1" ecdsa = { version = "=0.17.0-pre.9", features = ["digest", "pem"] } p256 = "=0.14.0-pre.2" p384 = "=0.14.0-pre.2" pbkdf2 = { version = "=0.13.0-pre.1", default-features = false, features = ["hmac"] } pcsc = "2.3.1" rand_core = { version = "0.6", features = ["std"] } rsa = { version = "=0.10.0-pre.3", features = ["sha2"] } secrecy = "0.8" sha1 = { version = "=0.11.0-pre.4", features = ["oid"] } sha2 = { workspace = true, features = ["oid"] } signature = "=2.3.0-pre.4" subtle = "2" uuid = { version = "1.2", features = ["v4"] } x509-cert.workspace = true zeroize = "1" [dev-dependencies] env_logger = "0.11" once_cell = "1" [features] untested = [] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]