[package]
edition = "2021"
name = "challenge_response"
version = "0.5.39"
authors = [
"Ashutosh Varma <github@ashu.io>",
"louib <code@louib.net>",
]
build = false
include = [
"src/",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Perform HMAC-SHA1 and OTP challenges with YubiKey, OnlyKey and NitroKey, in pure Rust."
readme = "README.md"
keywords = [
"yubikey",
"authentication",
"encryption",
"configuration",
"challenge-response",
]
categories = ["authentication"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/louib/challenge-response"
[features]
default = ["rusb"]
nusb = ["dep:nusb"]
rusb = ["dep:rusb"]
[lib]
name = "challenge_response"
path = "src/lib.rs"
[dependencies.aes]
version = "0.8"
[dependencies.bitflags]
version = "2.10"
[dependencies.block-modes]
version = "0.9"
[dependencies.hmac]
version = "0.12"
[dependencies.rand]
version = "0.9"
[dependencies.sha-1]
version = "0.10"
[dependencies.structure]
version = "0.1"
[dev-dependencies.hex]
version = "0.4"
[target."cfg(not(windows))".dependencies.nusb]
version = "0.2"
optional = true
[target."cfg(not(windows))".dependencies.rusb]
version = "0.9"
optional = true
[target."cfg(windows)".dependencies.rusb]
version = "0.9"