From baced761b2be0f207d88aca47fbe2fad4736618a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Thu, 31 Aug 2023 16:00:45 +0200 Subject: [PATCH] Adapt to trussed updates --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8aa3d42..7768bba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ log-warn = [] log-error = [] [patch.crates-io] -trussed = { git = "https://github.com/Nitrokey/trussed.git", tag = "v0.1.0-nitrokey.8" } +trussed = { git = "https://github.com/Nitrokey/trussed", rev = "6b9a43fbaaf34fe8d69fac0021f8130dd9a436c9" } littlefs2 = { git = "https://github.com/Nitrokey/littlefs2", tag = "v0.3.2-nitrokey-2" } diff --git a/src/lib.rs b/src/lib.rs index e831980..01303a8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -439,7 +439,7 @@ impl Backend for SoftwareRsa { resources: &mut ServiceResources

, ) -> Result { let mut rng = resources.rng()?; - let mut keystore = resources.keystore(core_ctx)?; + let mut keystore = resources.keystore(core_ctx.path.clone())?; match request { Request::DeriveKey(req) => { let (_bits, kind, _) = bits_and_kind_from_mechanism(req.mechanism)?;