Skip to content

Commit 75bf3b7

Browse files
docs(cable): note PXP-over-BLE data channel support
Adds a README feature line for the direct BLE L2CAP data channel, and updates the cable example wording since the channel is no longer always a tunnel. The example exercises PXP-over-BLE unchanged: the QR code advertises BLE and connection_stage selects L2CAP when offered.
1 parent 8a81acc commit 75bf3b7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ _Looking for the D-Bus API proposal?_ Check out [credentialsd][credentialsd].
3737
- 🟢 Discoverable credentials (resident keys)
3838
- 🟢 Hybrid transport (caBLE v2): QR-initiated transactions
3939
- 🟢 Hybrid transport (caBLE v2): State-assisted transactions (remember this phone)
40+
- 🟢 Hybrid transport (PXP / CTAP 2.3): direct BLE L2CAP data channel, QR-initiated, no tunnel server
4041

4142
## Runtime requirements
4243

libwebauthn/examples/ceremony/webauthn_cable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
8686
println!("{}", image);
8787

8888
let mut channel = device.channel().await.unwrap();
89-
println!("Tunnel established {:?}", channel);
89+
println!("Channel established {:?}", channel);
9090

9191
let state_recv = channel.get_ux_update_receiver();
9292
tokio::spawn(common::handle_cable_updates(state_recv));
@@ -118,7 +118,7 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
118118
.unwrap();
119119

120120
let mut channel = known_device.channel().await.unwrap();
121-
println!("Tunnel established {:?}", channel);
121+
println!("Channel established {:?}", channel);
122122

123123
let state_recv = channel.get_ux_update_receiver();
124124
tokio::spawn(common::handle_cable_updates(state_recv));

0 commit comments

Comments
 (0)