mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
Versions are pinned down to the minor number. Yes, this means that we don't automatically pull in features and bug updates from crates.io, but it also means we don't pull in new attack surfaces and code that hasn't been tested or reviewed. I'd like this process to be very deliberate and not automatic for Xous. The `rand` crate is almost pinned down to a single version, except for an odd dependency that's pulled in by hosted mode that depends on rand 0.8.4 via a subordinate dependency via the `tempfile` crate. Pondering if it's worth it to try and eliminate that, because the 0.8.4 version doesn't get compiled into any version that touches real hardware. It just makes it harder to analyze the Cargo.lock file, mostly. I think I'll leave it as-is.
73 lines
No EOL
2 KiB
TOML
73 lines
No EOL
2 KiB
TOML
[package]
|
|
name = "root-keys"
|
|
version = "0.1.0"
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
edition = "2018"
|
|
description = "Xous root keys server"
|
|
|
|
[dependencies]
|
|
xous = { path = "../../xous-rs" }
|
|
log-server = { path = "../log-server" }
|
|
ticktimer-server = { path = "../ticktimer-server" }
|
|
xous-names = { path = "../xous-names" }
|
|
log = "0.4.14"
|
|
susres = {path = "../susres"}
|
|
trng = {path= "../trng"}
|
|
spinor = {path="../spinor"}
|
|
llio = {path="../llio"}
|
|
rtc = {path="../rtc"}
|
|
com = {path="../com"}
|
|
|
|
xous-ipc = {path = "../../xous-ipc"}
|
|
num-derive = {version = "0.3.3", default-features = false}
|
|
num-traits = {version = "0.2.14", default-features = false}
|
|
rkyv = {version = "0.4.3", default-features = false, features = ["const_generics"]}
|
|
zeroize = "1.3.0"
|
|
|
|
# bcrypt
|
|
cipher = "0.3.0"
|
|
blowfish = { version = "0.8.0", features = ["bcrypt"] }
|
|
|
|
# password modals - keep them in this crate to minimize plaintext password manipulations
|
|
gam = {path = "../gam"}
|
|
locales = {path = "../../locales"}
|
|
|
|
# to access font maps for signing verification
|
|
graphics-server = {path = "../graphics-server"}
|
|
|
|
# for reboots and fuse operations
|
|
jtag = {path = "../jtag"}
|
|
|
|
# private keys
|
|
#sha2 = {version = "0.9.5", default-features = false, features = []}
|
|
sha2 = {path = "../engine-sha512"}
|
|
digest = "0.9.0"
|
|
aes={path="../aes"}
|
|
engine-25519 = {path="../engine-25519"}
|
|
# hardware acceleration adaptations are inserted into a fork of the main branch.
|
|
rand_core = "0.5.1"
|
|
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"]
|
|
|
|
[target.'cfg(not(any(windows,unix)))'.dependencies]
|
|
utralib = { path = "../../utralib"}
|
|
|
|
[features]
|
|
hazardous-debug = [] # this feature enables the printing of secret materials for debug purposes
|
|
default = []
|
|
|
|
[lib]
|
|
test = true
|
|
|
|
[[bin]]
|
|
name = "root-keys"
|
|
test = false |