authenticator-rs
authenticator-rs copied to clipboard
Firefox CTAP2 error Pico Keys
I'm trying to get pico keys to work in firefox on linux polhenarejos/pico-fido#129. It works on macOS, windows, but it doesn't work linux. I tried looking at the logs via RUST_LOG=authenticator=debug firefox and it gave me this:
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::transport::platform::device] new device "/dev/hidraw3"
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] Device "/dev/hidraw3" continues with the register process
[INFO authenticator::ctap2] PIN Error that requires user interaction detected. Sending it back and waiting for a reply
[WARN authenticator::ctap2] error happened: Error: Error issuing command: CommandError: Error while parsing: trailing data at offset 443
[INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO authenticator::transport::platform::transaction] Transaction was cancelled.
When i open about:webauthn > Manage credentials, browser ask a pin, after i enter and press enter we got error
and this trace in logs
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::transport::platform::device] new device "/dev/hidraw3"
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] Device "/dev/hidraw3" selected for interactive management.
[INFO authenticator::ctap2] PIN Error that requires user interaction detected. Sending it back and waiting for a reply
[WARN authenticator::ctap2::commands::credential_management] ClientPinResponse: unexpected key: 12
[WARN authenticator::ctap2::commands::credential_management] ClientPinResponse: unexpected key: 12
[WARN authenticator::ctap2::commands::credential_management] ClientPinResponse: unexpected key: 12
[WARN authenticator::ctap2::commands::credential_management] ClientPinResponse: unexpected key: 12
[INFO authenticator::statemachine] Callback dropped the channel, so we abort the interactive session
[INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO authenticator::transport::platform::transaction] Transaction was cancelled.
[INFO authenticator::transport::platform::device] new device "/dev/hidraw3"
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO authenticator::statemachine] Device "/dev/hidraw3" selected for interactive management.
Related with #339