Merge pull request #6 from trussed-dev/update-trussed

Adapt to trussed-dev/trussed#138
This commit is contained in:
sosthene-nitrokey
2023-11-13 11:33:15 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -439,7 +439,7 @@ impl Backend for SoftwareRsa {
resources: &mut ServiceResources<P>,
) -> Result<Reply, Error> {
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)?;