-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
40 lines (34 loc) · 912 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "challenge_response"
version = "0.0.0-placeholder-version"
authors = ["Ashutosh Varma <[email protected]>", "louib <[email protected]>"]
description = "Perform HMAC-SHA1 and OTP challenges with YubiKey, OnlyKey and NitroKey, in pure Rust."
license = "MIT OR Apache-2.0"
keywords = ["yubikey", "authentication", "encryption", "configuration", "challenge-response"]
categories = ["authentication"]
repository = "https://github.com/louib/challenge-response"
readme = "README.md"
include = [
"src/",
"README.md",
"LICENSE",
]
[lib]
name = "challenge_response"
path = "src/lib.rs"
[features]
rusb = ["dep:rusb"]
nusb = ["dep:nusb"]
default = ["rusb"]
[dependencies]
rand = "0.8"
bitflags = "2.4"
rusb = { version = "0.9", optional = true }
nusb = { version = "0.1", optional = true }
structure = "0.1"
aes = "0.8"
block-modes = "0.9"
hmac = "0.12"
sha-1 = "0.10"
[dev-dependencies]
hex = "0.4"