Commit Graph

440 Commits

Author SHA1 Message Date
Dana Keeler 3b8bab771f don't return errors from android mock implementation 2023-07-20 15:30:06 -07:00
John M. Schanck 5a6a12413e Bump version to 0.4.0-alpha.18 2023-06-20 14:19:14 -07:00
John M. Schanck 0bdc9c12fd Export StateMachine for custom implementations of Manager 2023-06-20 14:19:14 -07:00
John M. Schanck 2f48fdd262 Make pin token commands user-cancellable 2023-06-20 14:19:14 -07:00
John M. Schanck 408cfbe74d Add client pin serialization tests 2023-06-20 14:19:14 -07:00
John M. Schanck 94db1bed4f Use Bytes::new(&[u8]) in serialization instead of storing ByteBufs 2023-06-20 14:19:14 -07:00
John M. Schanck 7a4e86ed9b Bump version to 0.4.0-alpha.17 2023-06-16 13:00:10 -07:00
John M. Schanck 9a9f483b1e Allow manual construction of attestation objects 2023-06-16 13:00:10 -07:00
John M. Schanck 61ae408d6e Bump version to 0.4.0-alpha.16 2023-06-14 13:52:24 -07:00
John M. Schanck b55d51bd38 Fix dead code warnings 2023-06-14 13:51:40 -07:00
John M. Schanck 1db6dd29b0 Allow COSEAlgorithm::ECDH_ES_HKDF256 in COSEKey::generate 2023-06-14 13:51:40 -07:00
John M. Schanck e37aa7fc64 Allow trailing data in der_expect_tag_with_short_len 2023-06-14 13:51:40 -07:00
John M. Schanck c1af962fd2 Add support for ECDSA over P256 using NSS 2023-06-14 13:51:40 -07:00
John M. Schanck 8947b15140 Type visibility changes for virtual authenticators 2023-06-14 12:13:28 -07:00
John M. Schanck 22e2234408 Remove Nonce type 2023-06-14 12:13:28 -07:00
John M. Schanck 02efc6c3d4 Remove EncryptedPinToken type 2023-06-14 12:13:28 -07:00
John M. Schanck 0ef3b24501 Unify Output type of ClientPINSubCommands 2023-06-12 14:40:04 -07:00
John M. Schanck e80fd1efe2 Add VirtualFidoDevice and send_to_virtual_device 2023-06-12 14:40:04 -07:00
John M. Schanck fa02ffe1bd Factor FidoDeviceIO trait out of FidoDevice
This allows us to provide transport-specific default implementations of
`send_msg_cancellable`. The previous approach exposed some HID-specific
abstractions through the abstract FidoDevice trait.
2023-06-12 14:40:04 -07:00
John M. Schanck 10d27db357 Add FidoDevice::get_protocol and downgrade_to_ctap1 2023-06-08 09:18:16 -07:00
Martin Sirringhaus 897f15a40b Fix #274: Select a reasonable default pin protocol when pinUvAuthProtocols is absent from GetInfo response 2023-06-07 16:02:58 -07:00
John M. Schanck c19a3ea625 Move get/set_device_info to HIDDevice and remove U2FDeviceInfo status updates 2023-06-02 10:39:09 -07:00
John M. Schanck b444f325d9 Allow long CTAPHID_INIT responses 2023-06-01 14:51:31 -07:00
John M. Schanck 9f1b3acdbb Merge branch 'msirringhaus-drop_nom' into ctap2-2021 2023-06-01 12:26:47 -07:00
John M. Schanck 5d0ae37b24 Decouple the abstract FidoDevice trait from HIDDevice and U2FDevice 2023-06-01 12:10:40 -07:00