From 25b8c558aae199cd74b57b281035bb617c80ce91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 28 Aug 2023 17:27:22 +0200 Subject: [PATCH] Adapt to updated trussed --- Cargo.toml | 2 +- src/backend.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fdcb66e..e2ec682 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,4 +28,4 @@ trussed = { version = "0.1.0", features = ["serde-extensions", "virt"] } [patch.crates-io] littlefs2 = { git = "https://github.com/Nitrokey/littlefs2", tag = "v0.3.2-nitrokey-2" } -trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "51e68500d7601d04f884f5e95567d14b9018a6cb" } +trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "df720980888e3e0d5487250bd14a28db02a5f13b" } diff --git a/src/backend.rs b/src/backend.rs index 709c735..f60f446 100644 --- a/src/backend.rs +++ b/src/backend.rs @@ -219,7 +219,7 @@ impl ExtensionImpl for AuthBackend { let global_fs = &mut resources.filestore(PathBuf::from(BACKEND_DIR)); let rng = &mut resources.rng()?; let client_id = core_ctx.path.clone(); - let keystore = &mut resources.keystore(core_ctx)?; + let keystore = &mut resources.keystore(core_ctx.path.clone())?; match request { AuthRequest::HasPin(request) => { let has_pin = fs.exists(&request.id.path(), self.location);