Fix tests

This commit is contained in:
Sosthène Guédon
2025-03-06 09:55:34 +01:00
committed by sosthene-nitrokey
parent 8b3f78b2f8
commit 009ce99320
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -22,6 +22,7 @@ iso7816 = "0.1.3"
serde = { version = "1", default-features = false, features = ["derive"] }
trussed = { version = "0.1", default-features = false, features = ["aes256-cbc", "chacha8-poly1305", "crypto-client", "ed255", "filesystem-client", "p256", "shared-secret", "serde-extensions", "tdes", "x255"], optional = true }
trussed-auth = "0.4"
trussed-auth-backend = { version = "0.1", optional = true}
untrusted = "0.9"
vpicc = { version = "0.1.0", optional = true }
log = "0.4"
@@ -62,7 +63,7 @@ default = []
apdu-dispatch = ["dep:apdu-app"]
strict-pin = []
std = []
vpicc = ["std", "dep:vpicc", "virt"]
vpicc = ["std", "dep:vpicc", "virt", "dep:trussed-auth-backend"]
virt = ["std", "trussed/virt", "dep:trussed-staging"]
pivy-tests = []
opensc-tests = []
@@ -82,6 +83,7 @@ dangerous-test-real-card = []
trussed = { git = "https://github.com/trussed-dev/trussed", rev = "6bba8fde36d05c0227769eb63345744e87d84b2b" }
trussed-rsa-alloc = { git = "https://github.com/trussed-dev/trussed-rsa-backend.git", rev = "743d9aaa3d8a17d7dbf492bd54dc18ab8fca3dc0" }
trussed-staging = { git = "https://github.com/trussed-dev/trussed-staging.git", rev = "1e1ca03a3a62ea9b802f4070ea4bce002eeb4bec" }
trussed-auth-backend = { git = "https://github.com/trussed-dev/trussed-auth", tag = "v0.4.0" }
[profile.dev.package.rsa]
opt-level = 2
+2 -1
View File
@@ -11,7 +11,8 @@ pub mod dispatch {
service::ServiceResources,
types::{Bytes, Context, Location},
};
use trussed_auth::{AuthBackend, AuthContext, AuthExtension, FilesystemLayout, MAX_HW_KEY_LEN};
use trussed_auth::AuthExtension;
use trussed_auth_backend::{AuthBackend, AuthContext, FilesystemLayout, MAX_HW_KEY_LEN};
use trussed_chunked::ChunkedExtension;
use trussed_hpke::HpkeExtension;
#[cfg(feature = "rsa")]