mirror of
https://github.com/trussed-dev/trussed-rsa-backend.git
synced 2026-06-20 04:16:22 -07:00
Merge pull request #6 from trussed-dev/update-trussed
Adapt to trussed-dev/trussed#138
This commit is contained in:
+1
-1
@@ -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
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user