@@ -8,39 +8,80 @@ repository = "https://github.com/solokeys/fido-authenticator"
88documentation = " https://docs.rs/fido-authenticator"
99description = " FIDO authenticator Trussed app"
1010
11- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12-
1311[dependencies ]
14- ctap-types = " 0.1.0"
12+ cbor-smol = { version = " 0.5" }
13+ ctap-types = { version = " 0.4" , features = [" get-info-full" , " large-blobs" , " third-party-payment" ] }
14+ cosey = " 0.3"
1515delog = " 0.1.0"
1616heapless = " 0.7"
17- interchange = " 0.2.0 "
18- littlefs2 = " 0.3 .1"
17+ heapless-bytes = " 0.3 "
18+ littlefs2-core = " 0.1"
1919serde = { version = " 1.0" , default-features = false }
20- serde_cbor = { version = " 0.11.0 " , default-features = false }
20+ serde_bytes = { version = " 0.11.14 " , default-features = false }
2121serde-indexed = " 0.1.0"
22- trussed = " 0.1"
22+ sha2 = { version = " 0.10" , default-features = false }
23+ trussed-core = { version = " 0.1.0" , features = [" aes256-cbc" , " certificate-client" , " chacha8-poly1305" , " crypto-client" , " ed255" , " filesystem-client" , " hmac-sha256" , " management-client" , " p256" , " sha256" , " ui-client" ] }
24+ trussed-fs-info = " 0.2.0"
25+ trussed-hkdf = { version = " 0.3.0" }
26+ trussed-chunked = { version = " 0.2.0" , optional = true }
2327
24- apdu-dispatch = { version = " 0.1" , optional = true }
25- ctaphid-dispatch = { version = " 0.1" , optional = true }
26- iso7816 = { version = " 0.1" , optional = true }
28+ apdu-app = { version = " 0.1" , optional = true }
29+ ctaphid-app = { version = " 0.1.0-rc .1" , optional = true }
30+ iso7816 = { version = " 0.1.2 " , optional = true }
2731
2832[features ]
29- default = []
3033dispatch = [" apdu-dispatch" , " ctaphid-dispatch" , " iso7816" ]
34+ apdu-dispatch = [" dep:apdu-app" ]
35+ ctaphid-dispatch = [" dep:ctaphid-app" ]
3136disable-reset-time-window = []
32- enable-fido-pre = []
37+
38+ # enables support for a large-blob array longer than 1024 bytes
39+ chunked = [" trussed-chunked" ]
3340
3441log-all = []
3542log-none = []
43+ log-trace = []
3644log-info = []
3745log-debug = []
3846log-warn = []
3947log-error = []
4048
4149[dev-dependencies ]
42- # quickcheck = "1"
50+ admin-app = { version = " 0.1.0" , features = [" migration-tests" ] }
51+ aes = " 0.8.4"
52+ cbc = { version = " 0.1.2" , features = [" alloc" ] }
53+ ciborium = { version = " 0.2.2" }
54+ ciborium-io = " 0.2.2"
55+ cipher = " 0.4.4"
56+ ctaphid = { version = " 0.3.1" , default-features = false }
57+ ctaphid-dispatch = " 0.3"
58+ delog = { version = " 0.1.6" , features = [" std-log" ] }
59+ env_logger = " 0.11.0"
60+ hex-literal = " 0.4.1"
61+ hmac = " 0.12.1"
62+ interchange = " 0.3.0"
63+ itertools = " 0.14.0"
64+ littlefs2 = " 0.6.0"
65+ log = " 0.4.21"
66+ p256 = { version = " 0.13.2" , features = [" ecdh" ] }
4367rand = " 0.8.4"
68+ rand_chacha = " 0.3"
69+ sha2 = " 0.10"
70+ serde_test = " 1.0.176"
71+ trussed = { version = " 0.1" , features = [" virt" ] }
72+ trussed-staging = { version = " 0.3.0" , features = [" chunked" , " hkdf" , " virt" , " fs-info" ] }
73+ trussed-usbip = { version = " 0.0.1" , default-features = false , features = [" ctaphid" ] }
74+ usbd-ctaphid = " 0.3.0"
75+ x509-parser = " 0.16.0"
4476
4577[package .metadata .docs .rs ]
4678features = [" dispatch" ]
79+
80+ [patch .crates-io ]
81+ admin-app = { git = " https://github.com/Nitrokey/admin-app.git" , tag = " v0.1.0-nitrokey.20" }
82+ trussed = { git = " https://github.com/trussed-dev/trussed.git" , rev = " 024e0eca5fb7dbd2457831f7c7bffe4341e08775" }
83+ trussed-staging = { git = " https://github.com/trussed-dev/trussed-staging.git" , rev = " 7922d67e9637a87e5625aaff9e5111f0d4ec0346" }
84+ trussed-usbip = { git = " https://github.com/trussed-dev/pc-usbip-runner.git" , rev = " 504674453c9573a30aa2f155101df49eb2af1ba7" }
85+
86+ [profile .test ]
87+ opt-level = 2
0 commit comments