mozilla / authenticator-rs

Rust library to interact with Security Keys, used by Firefox
https://crates.io/crates/authenticator
Mozilla Public License 2.0
273 stars 70 forks source link

Decouple the abstract FidoDevice trait from HIDDevice and U2FDevice #270

Closed jschanck closed 1 year ago

jschanck commented 1 year ago

We previously had

pub trait FidoDevice: HIDDevice

and

pub trait HIDDevice: U2FDevice

which made it difficult to implement virtual FIDO devices. This PR removes U2FDevice entirely and makes HIDDevice an extension of FidoDevice.

There are no functional changes.