Skip to content

Commit

Permalink
Adapt to updated trussed
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Aug 28, 2023
1 parent 203a90d commit 25b8c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl ExtensionImpl<AuthExtension> 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);
Expand Down

0 comments on commit 25b8c55

Please sign in to comment.