2022-05-27 17:20:05 +00:00
[ package ]
name = "vault"
version = "0.1.0"
edition = "2018"
[ dependencies ]
log = "0.4.14"
2024-12-02 10:52:59 +00:00
num-derive = { version = "0.4.2" , default-features = false }
2024-01-14 16:14:39 +00:00
num-traits = { version = "0.2.14" , default-features = false }
2026-01-29 11:12:00 +00:00
xous = "0.9.70"
xous-ipc = "0.10.10"
2024-09-22 06:14:55 +00:00
rkyv = { version = "0.8.8" , default-features = false , features = [
"std" ,
"alloc" ,
] }
2026-01-29 11:12:00 +00:00
log-server = { package = "xous-api-log" , version = "0.1.69" }
xous-names = { package = "xous-api-names" , version = "0.9.71" }
2024-01-14 16:14:39 +00:00
gam = { path = "../../services/gam" }
locales = { path = "../../locales" }
tts-frontend = { path = "../../services/tts" }
usb-device-xous = { path = "../../services/usb-device-xous" }
2024-02-01 05:41:49 +00:00
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git" , branch = "main" }
2024-01-14 16:14:39 +00:00
pddb = { path = "../../services/pddb" }
modals = { path = "../../services/modals" }
trng = { path = "../../services/trng" }
2026-01-27 16:36:05 +00:00
susres = { path = "../../api/xous-api-susres" , package = "xous-api-susres" }
2024-01-14 16:14:39 +00:00
ime-plugin-api = { path = "../../services/ime-plugin-api" }
content-plugin-api = { path = "../../services/content-plugin-api" } # all content canvas providers must provide this API
backup = { path = "libraries/backup" }
2022-05-28 10:19:52 +00:00
byteorder = { version = "1.4.3" , default-features = false }
arrayref = "0.3.6"
2023-09-18 15:55:33 +00:00
subtle = { version = "2.5.0" , features = [ "core_hint_black_box" ] }
2022-05-31 16:19:04 +00:00
rand_core = "0.6.3"
2026-01-29 11:12:00 +00:00
ticktimer-server = { package = "xous-api-ticktimer" , version = "0.9.70" }
2024-01-14 16:14:39 +00:00
userprefs = { path = "../../libs/userprefs" }
2025-02-21 09:51:04 +00:00
ux-api = { path = "../../libs/ux-api" , default-features = false }
2025-05-11 04:39:41 +00:00
precursor-hal = { path = "../../libs/precursor-hal" }
2022-05-28 08:12:08 +00:00
2023-01-23 19:56:30 +00:00
# opensk
2024-01-14 16:14:39 +00:00
ctap-crypto = { path = "libraries/crypto" }
cbor = { path = "libraries/cbor" }
2023-01-23 19:56:30 +00:00
persistent_store = { path = "libraries/persistent_store" }
ed25519-compact = { version = "1" , default-features = false , optional = true }
2024-02-08 06:22:26 +00:00
rand = { version = "0.8.5" , optional = true }
2023-01-23 19:56:30 +00:00
2022-06-06 11:00:43 +00:00
# ux formatting
hex = { version = "0.4.3" , default-features = false , features = [ "alloc" ] }
2024-02-08 05:51:30 +00:00
chrono = { version = "0.4.33" , default-features = false , features = [ "std" ] }
2022-06-06 11:00:43 +00:00
2022-06-21 20:52:40 +00:00
# password generation
passwords = "3.1.9"
2022-06-23 16:30:45 +00:00
# totp
2024-01-30 20:02:36 +00:00
sha1 = "0.10.6"
hmac = "0.12.1"
2022-06-23 16:30:45 +00:00
digest = "0.9.0"
base32 = "0.4.0"
2024-01-31 17:42:18 +00:00
sha2 = { version = "0.10.8" }
2024-01-14 16:14:39 +00:00
sntpc = { version = "0.3.1" }
net = { path = "../../services/net" }
2023-05-03 14:53:54 +00:00
com_rs = { git = "https://github.com/betrusted-io/com_rs" , rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
2022-06-23 16:30:45 +00:00
2022-10-23 16:37:18 +00:00
# performance profiling
2024-01-14 16:52:43 +00:00
perflib = { path = "../../libs/perflib" , optional = true }
2026-01-29 11:12:00 +00:00
utralib = { version = "0.1.27" , optional = true , default-features = false }
2022-10-23 16:37:18 +00:00
2022-06-23 16:30:45 +00:00
# testing
2024-01-14 16:14:39 +00:00
random-pick = { version = "1.2.15" , optional = true }
2022-05-31 19:11:26 +00:00
[ dev-dependencies ]
enum-iterator = "0.6.0"
2022-05-27 17:20:05 +00:00
[ features ]
2025-02-21 09:51:04 +00:00
precursor = [ "ux-api/precursor" ]
hosted = [ "ux-api/hosted" ]
renode = [ "ux-api/renode" ]
2022-05-27 17:20:05 +00:00
tts = [ ]
2022-06-01 06:15:49 +00:00
with_ctap1 = [ "ctap-crypto/with_ctap1" ]
2024-08-18 18:39:21 +00:00
vendor_hid = [ ]
std = [ ]
fuzz = [ ]
debug_ctap = [ ]
2022-06-07 20:33:09 +00:00
autotest = [ ]
multireset = [ ] # allows credential reset more than once per boot
2024-01-14 16:14:39 +00:00
vaultperf = [
"perflib" ,
"xous/v2p" ,
"utralib" ,
"utralib/precursor" ,
] # vault is the performance logging manager. Do not use concurrently with "shellperf", as there can only be one manager.
2022-10-23 16:37:18 +00:00
vault-testing = [ "random-pick" ]
2022-11-06 10:44:56 +00:00
# introduce a slight delay after UX boxes swap, in case of race conditions. Shouldn't be necessary anymore, but kept around in case there's a new edge case we missed.
ux-swap-delay = [ ]
2024-01-14 16:14:39 +00:00
osk-upgrade = [
] # placeholder to select out OpenSK's "vendor upgrade" over HID, which we don't use because we have our own upgrade path.
xous = [
] # marks xous-specific code segments deep inside the CTAP crate. Mostly to help evaluate if a patch is even feasible in the future.
2023-01-23 19:56:30 +00:00
ed25519 = [ "ed25519-compact" ]
2024-01-14 16:14:39 +00:00
default = [ "with_ctap1" , "ed25519" , "xous" ] # testing removed for release tag