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

Add logging-possiblity to send_msg()-functiongroup #326

Open msirringhaus opened 9 months ago

msirringhaus commented 9 months ago

First stab at logging-capability. Requests and Responses are converted to String and then send via StatusUpdates. I added the status-callback function to all send_msg()-functions, as an Option. Various minor calls like GetInfo and all PIN-related operations (like establishing shared secrets, etc.) are currently intentionally not logged.