kanidm / webauthn-rs

An implementation of webauthn components for Rustlang servers
Mozilla Public License 2.0
483 stars 80 forks source link

Is there a typo? #381

Closed DnaBoss closed 9 months ago

DnaBoss commented 10 months ago

Whether using the official kits for iOS or Android, the error received is:

Error("unknown variant cable, expected one of usb, nfc, ble, internal, hybrid, test", line: 1, column: 118))

The original request specified transports: ["internal", "cable"]

Does "cable" refer to "ble"? Should "ble" be replaced with "cable"?

yaleman commented 10 months ago

Nope, it's the clients sending the wrong thing - this is handled in a recent patch - ref https://github.com/kanidm/webauthn-rs/issues/364

https://w3c.github.io/webauthn/#enumdef-authenticatortransport

Firstyear commented 9 months ago

Relates to #386 - we need to do a release soon