Development over

This commit is contained in:
2026-01-15 22:40:51 +01:00
parent 2f6b16d946
commit 1e7f296635
63 changed files with 12945 additions and 331 deletions

View File

@@ -16,6 +16,7 @@ path = "src/main.rs"
[features]
default = []
tpm = ["tss-esapi"]
onnx = ["ort", "ndarray"]
[dependencies]
linux-hello-common = { path = "../linux-hello-common" }
@@ -33,13 +34,23 @@ image.workspace = true
# Security
zeroize.workspace = true
libc = "0.2"
subtle = "2.5"
# Cryptography (for software TPM fallback)
aes-gcm = "0.10"
rand = "0.8"
pbkdf2 = "0.12"
sha2 = "0.10"
# D-Bus support
zbus = { version = "4.0", features = ["tokio"] }
# TPM2 (optional)
tss-esapi = { workspace = true, optional = true }
# ML inference - temporarily disabled until ort 2.0 stable
# ort.workspace = true
# ndarray.workspace = true
# ML inference (enabled via 'onnx' feature)
ort = { workspace = true, optional = true }
ndarray = { workspace = true, optional = true }
# Camera (Linux-only)
[target.'cfg(target_os = "linux")'.dependencies]
@@ -47,3 +58,8 @@ v4l.workspace = true
[dev-dependencies]
tempfile = "3"
criterion.workspace = true
[[bench]]
name = "benchmarks"
harness = false