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)?;