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