2021-07-19 17:59:52 +00:00
[ package ]
2021-07-21 11:47:09 +00:00
name = "root-keys"
2021-07-19 17:59:52 +00:00
version = "0.1.0"
authors = [ "bunnie <bunnie@kosagi.com>" ]
edition = "2018"
2021-07-21 11:47:09 +00:00
description = "Xous root keys server"
2021-07-19 17:59:52 +00:00
2022-01-10 08:50:10 +00:00
# Dependency policy: fully specify dependencies to the minor version number
2021-07-19 17:59:52 +00:00
[ dependencies ]
xous = { path = "../../xous-rs" }
log-server = { path = "../log-server" }
ticktimer-server = { path = "../ticktimer-server" }
xous-names = { path = "../xous-names" }
2022-01-10 07:39:55 +00:00
log = "0.4.14"
2021-07-21 11:47:09 +00:00
susres = { path = "../susres" }
trng = { path = "../trng" }
2021-08-03 08:54:42 +00:00
spinor = { path = "../spinor" }
2021-08-10 22:15:04 +00:00
llio = { path = "../llio" }
com = { path = "../com" }
2021-07-21 11:47:09 +00:00
xous-ipc = { path = "../../xous-ipc" }
2022-01-10 07:39:55 +00:00
num-derive = { version = "0.3.3" , default-features = false }
num-traits = { version = "0.2.14" , default-features = false }
2021-07-21 11:47:09 +00:00
rkyv = { version = "0.4.3" , default-features = false , features = [ "const_generics" ] }
2022-01-10 07:39:55 +00:00
zeroize = "1.3.0"
2021-07-21 11:47:09 +00:00
2021-08-02 20:58:34 +00:00
# bcrypt
2022-01-10 07:39:55 +00:00
cipher = "0.3.0"
blowfish = { version = "0.8.0" , features = [ "bcrypt" ] }
2021-07-19 17:59:52 +00:00
2021-08-02 20:58:34 +00:00
# password modals - keep them in this crate to minimize plaintext password manipulations
gam = { path = "../gam" }
2021-07-26 20:40:12 +00:00
locales = { path = "../../locales" }
2022-01-16 19:30:09 +00:00
# non-password modals are outsourced to a common crate
modals = { path = "../modals" }
2021-07-21 19:04:16 +00:00
2021-08-02 20:58:34 +00:00
# to access font maps for signing verification
graphics-server = { path = "../graphics-server" }
2021-08-10 12:02:29 +00:00
# for reboots and fuse operations
jtag = { path = "../jtag" }
2021-08-02 20:58:34 +00:00
# private keys
2021-08-08 20:40:33 +00:00
#sha2 = {version = "0.9.5", default-features = false, features = []}
sha2 = { path = "../engine-sha512" }
2022-01-10 07:39:55 +00:00
digest = "0.9.0"
2021-11-06 21:17:34 +00:00
aes = { path = "../aes" }
2021-08-02 20:58:34 +00:00
engine-25519 = { path = "../engine-25519" }
# hardware acceleration adaptations are inserted into a fork of the main branch.
2022-01-10 07:39:55 +00:00
rand_core = "0.5.1"
2021-08-02 20:58:34 +00:00
hex = { version = "0.4.3" , default-features = false , features = [ ] }
[ dependencies . curve25519-dalek ]
version = "3.1.0" # note this is patched to our fork in ./Cargo.toml
default-features = false
features = [ "u32_backend" , "betrusted" ]
[ dependencies . ed25519-dalek ]
version = "1.0.1"
#path = "../../../ed25519-dalek"
default-features = false
features = [ "u32_backend" , "rand" ]
2021-07-19 17:59:52 +00:00
[ target . 'cfg(not(any(windows,unix)))' . dependencies ]
utralib = { path = "../../utralib" }
[ features ]
2022-01-16 20:37:33 +00:00
policy-menu = [ ] # provisions for users to set their password retention policies (on the block for deprecation) (note: to re-enable you need to add "rootkeys menu" to the tokens.rs in the GAM)
2021-08-09 06:06:54 +00:00
hazardous-debug = [ ] # this feature enables the printing of secret materials for debug purposes
2021-08-18 20:22:28 +00:00
default = [ ]
2021-07-30 07:28:47 +00:00
[ lib ]
test = true
[ [ bin ] ]
name = "root-keys"
test = false