Skip to content

Commit

Permalink
fido-authenticator: Add large blobs support
Browse files Browse the repository at this point in the history
This patch updates fido-authenticator to add support for the
largeBlobKey extension and the largeBlobs command.  See the
fido-authenticator PR for more information:
  Nitrokey/fido-authenticator#41
  • Loading branch information
robin-nitrokey committed Nov 21, 2023
1 parent 056b62c commit 6ff6c6c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Unreleased

### Features

- fido-authenticator: Implement the largeBlobKey extension and the largeBlobs command ([fido-authenticator#38][])

[fido-authenticator#38]: https://github.com/Nitrokey/fido-authenticator/issues/38

# 1.6.0-rc.1 (2023-11-10)

### Features
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ version = "1.6.0-rc.1"
[patch.crates-io]
# forked
admin-app = { git = "https://github.com/Nitrokey/admin-app", tag = "v0.1.0-nitrokey.6" }
ctap-types = { git = "https://github.com/Nitrokey/ctap-types", tag = "v0.1.2-nitrokey.4" }
fido-authenticator = { git = "https://github.com/Nitrokey/fido-authenticator.git", tag = "v0.1.1-nitrokey.8" }
fido-authenticator = { git = "https://github.com/Nitrokey/fido-authenticator.git", branch = "large-blobs" }
flexiber = { git = "https://github.com/Nitrokey/flexiber", tag = "0.1.1.nitrokey" }
lpc55-hal = { git = "https://github.com/Nitrokey/lpc55-hal", tag = "v0.3.0-nitrokey.2" }
serde-indexed = { git = "https://github.com/nitrokey/serde-indexed.git", tag = "v0.1.0-nitrokey.2" }

# unreleased upstream changes
apdu-dispatch = { git = "https://github.com/Nitrokey/apdu-dispatch.git", tag = "v0.1.2-nitrokey.2" }
ctap-types = { git = "https://github.com/trussed-dev/ctap-types.git", rev = "785bcc52720ce2e2054ae32034a2a24c500e1043" }
ctaphid-dispatch = { git = "https://github.com/Nitrokey/ctaphid-dispatch.git", tag = "v0.1.1-nitrokey.3" }
iso7816 = { git = "https://github.com/Nitrokey/iso7816.git", tag = "v0.1.1-nitrokey.2"}
trussed = { git = "https://github.com/Nitrokey/trussed.git", rev = "v0.1.0-nitrokey.14" }
Expand Down
2 changes: 1 addition & 1 deletion components/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trussed-staging = { version = "0.1.0", features = ["wrap-key-to-file", "chunked"

# apps
admin-app = "0.1.0"
fido-authenticator = { version = "0.1.1", features = ["dispatch"], optional = true }
fido-authenticator = { version = "0.1.1", features = ["dispatch", "log-all"], optional = true }
ndef-app = { path = "../ndef-app", optional = true }
webcrypt = { version = "0.8.0", optional = true }
secrets-app = { version = "0.13.0", features = ["apdu-dispatch", "ctaphid"], optional = true }
Expand Down
5 changes: 5 additions & 0 deletions components/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,11 @@ impl<R: Runner> App<R> for FidoApp<R> {
max_msg_size: usbd_ctaphid::constants::MESSAGE_SIZE,
skip_up_timeout,
max_resident_credential_count: Some(10),
// TODO: only enable if EFS is available
large_blobs: Some(fido_authenticator::LargeBlobsConfig {
location: Location::External,
max_size: 1024,
}),
},
)
}
Expand Down

0 comments on commit 6ff6c6c

Please sign in to comment.