Skip to content

Commit a8c5ef4

Browse files
Migrate from blurz to btleplug (#52) (#87)
For background, see #52 (comment). Migrates away from the unmaintained blurz crate, to btleplug. This has better support, including workarounds around a known BlueZ discovery issue (#52 (comment)), and async methods. Android devices are now discovered. The handshake failure persists, and will be addressed in a later PR.
1 parent cd24f6b commit a8c5ef4

File tree

18 files changed

+857
-693
lines changed

18 files changed

+857
-693
lines changed

Cargo.lock

Lines changed: 353 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libwebauthn/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ serde_bytes = "0.11.5"
3434
num-traits = "0.2"
3535
num-derive = "0.4.1"
3636
byteorder = "1.3.4"
37-
blurz = "0.4.0"
3837
num_enum = "0.7.1"
3938
x509-parser = "0.16.0"
4039
time = "0.3.35"
@@ -62,6 +61,8 @@ tokio-tungstenite = { version = "0.20.1", features = [
6261
tokio-stream = "0.1.4"
6362
snow = { version = "0.10.0-alpha.1", features = ["use-p256"] }
6463
ctap-types = { version = "0.3.2" }
64+
btleplug = "0.11.7"
65+
6566

6667
[dev-dependencies]
6768
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }

libwebauthn/src/transport/ble/bluez/device.rs

Lines changed: 0 additions & 58 deletions
This file was deleted.

libwebauthn/src/transport/ble/bluez/gatt.rs

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)