authenticator-rs icon indicating copy to clipboard operation
authenticator-rs copied to clipboard

Firefox CTAP2 error Pico Keys

Open TheMaxMur opened this issue 10 months ago • 2 comments

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.

TheMaxMur avatar Mar 26 '25 08:03 TheMaxMur

When i open about:webauthn > Manage credentials, browser ask a pin, after i enter and press enter we got error

Image

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.

TheMaxMur avatar Mar 26 '25 11:03 TheMaxMur

Related with #339

TheMaxMur avatar Mar 29 '25 21:03 TheMaxMur