Commit Graph

  • 9ae06145f1 Make CheckKeyHandle members public for virtual authenticators John M. Schanck 2023-08-18 16:04:12 -07:00
  • 0777b0c9d4 Make COSEEC2Key::der_spki public for WebAuthn getPublicKey methods John M. Schanck 2023-08-16 11:53:04 -07:00
  • 406aca420d Call callback from a central place when determining puap. Martin Sirringhaus 2023-08-16 10:07:37 +02:00
  • d6684ff7e6 Bump version to 0.4.0-alpha.19 John M. Schanck 2023-08-15 13:28:36 -07:00
  • d0d8d7d0cb Add anonymize method to AttestationObject John M. Schanck 2023-08-09 08:26:50 -07:00
  • 2ed7fcc7cf Use AttestationObject in MakeCredentialsResult John M. Schanck 2023-08-09 08:25:54 -07:00
  • bda39d6a10 Separate serialization routines for AttestationObject and MakeCredentialsResult John M. Schanck 2023-08-07 13:54:15 -07:00
  • d755f8bcf4 Implement InteractiveRequest::Quit to be able to cleanly stop managing Martin Sirringhaus 2023-08-10 13:16:00 +02:00
  • a1f047efd1 Don't error out if a bioEnrollment response field is missing that is not reported for bioEnrollmentPreview Martin Sirringhaus 2023-08-10 13:00:59 +02:00
  • 6d03262e7c Handle pinuv-crypto errors and do not show UpdateUser as an option for 2.1_PRE-devices Martin Sirringhaus 2023-08-10 12:06:20 +02:00
  • 6f7a57e69f Send PUAT back and forth to avoid multiple PIN-requests for the user when doing management-operations Martin Sirringhaus 2023-08-08 16:54:48 +02:00
  • 99e5930009 Implement (and fix) all possible operations for CredManagement and BioEnrollment to interactive-example Martin Sirringhaus 2023-08-03 13:33:22 +02:00
  • 7e6c9bf403 Try to fix clippy warnings Martin Sirringhaus 2023-08-02 15:30:45 +02:00
  • 8b22954b47 Remove getter/setter of pin from Commands and replace it by top-level variable Martin Sirringhaus 2023-08-02 15:05:58 +02:00
  • 27a36cc0db Make timeout optional for BioEnrollment Martin Sirringhaus 2023-08-02 13:03:14 +02:00
  • e56bbe73d5 AuthConfig: Move check for skipping UV into the appropriate function Martin Sirringhaus 2023-08-02 11:48:21 +02:00
  • b4e5ec26e5 Remove 'regenerate_puap()' from CredentialManagement Martin Sirringhaus 2023-08-02 11:03:24 +02:00
  • 046b3e18b8 Accept unknown values for LastEnrollmentSampleStatus et al. Martin Sirringhaus 2023-08-02 10:48:59 +02:00
  • 47d82fdc64 Fix wrong copy&paste comments and do not copy large_blob_keys Martin Sirringhaus 2023-08-01 17:06:40 +02:00
  • c5c90dee1f Implement FingerprintSensorInfo Martin Sirringhaus 2023-08-01 16:01:15 +02:00
  • 94e1f9c649 Avoid using ByteBuf in CredentialManagement Martin Sirringhaus 2023-08-01 15:33:37 +02:00
  • d4de362bb1 Remove 'regenerate_puap()' from BioEnrollment Martin Sirringhaus 2023-08-01 14:28:05 +02:00
  • df33cc3ee7 Remove serde_repr and don't expose ByteBuf to users in BioEnrollment Martin Sirringhaus 2023-08-01 14:11:44 +02:00
  • cb1b6a2a22 Remove VendorPrototype Martin Sirringhaus 2023-08-01 09:32:50 +02:00
  • b924520fad Refactor interactive-example for nicer UI Martin Sirringhaus 2023-06-22 13:00:50 +02:00
  • 79bd444b51 Remove Request<T>-trait Martin Sirringhaus 2023-06-22 09:28:07 +02:00
  • 5235c019dd Implement AuthenticatorConfig, CredentialManagement and BioEnrollment Martin Sirringhaus 2023-04-11 17:18:29 +02:00
  • 3f98470f1d Upgrade base64 to 0.21 Mike Hommey 2023-08-09 09:53:25 +09:00
  • fdf2492ecb Remove UnsupportedOption::HmacSecret John M. Schanck 2023-08-01 11:10:04 -07:00
  • 1f986e79ff Ignore HMAC Secret extension if not supported John M. Schanck 2023-07-28 16:13:28 -07:00
  • 33f75ed00a CTAP 2.0 does not always require UV in MakeCredentials John M. Schanck 2023-07-31 13:26:10 -07:00
  • 3b8bab771f don't return errors from android mock implementation android-debug Dana Keeler 2023-07-20 13:07:54 -07:00
  • 5a6a12413e Bump version to 0.4.0-alpha.18 John M. Schanck 2023-06-16 21:04:56 -07:00
  • 0bdc9c12fd Export StateMachine for custom implementations of Manager John M. Schanck 2023-06-20 10:55:31 -07:00
  • 2f48fdd262 Make pin token commands user-cancellable John M. Schanck 2023-06-20 10:53:03 -07:00
  • 408cfbe74d Add client pin serialization tests John M. Schanck 2023-06-16 21:02:26 -07:00
  • 94db1bed4f Use Bytes::new(&[u8]) in serialization instead of storing ByteBufs John M. Schanck 2023-06-16 21:02:09 -07:00
  • 7a4e86ed9b Bump version to 0.4.0-alpha.17 John M. Schanck 2023-06-16 11:26:00 -07:00
  • 9a9f483b1e Allow manual construction of attestation objects John M. Schanck 2023-06-15 20:33:11 -07:00
  • 61ae408d6e Bump version to 0.4.0-alpha.16 John M. Schanck 2023-06-14 13:52:24 -07:00
  • b55d51bd38 Fix dead code warnings John M. Schanck 2023-06-14 13:31:55 -07:00
  • 1db6dd29b0 Allow COSEAlgorithm::ECDH_ES_HKDF256 in COSEKey::generate John M. Schanck 2023-06-14 13:11:58 -07:00
  • e37aa7fc64 Allow trailing data in der_expect_tag_with_short_len John M. Schanck 2023-06-14 12:12:44 -07:00
  • c1af962fd2 Add support for ECDSA over P256 using NSS John M. Schanck 2023-06-13 23:21:48 -07:00
  • 8947b15140 Type visibility changes for virtual authenticators John M. Schanck 2023-06-11 12:07:31 -07:00
  • 22e2234408 Remove Nonce type John M. Schanck 2023-06-11 11:34:09 -07:00
  • 02efc6c3d4 Remove EncryptedPinToken type John M. Schanck 2023-06-11 10:57:26 -07:00
  • 0ef3b24501 Unify Output type of ClientPINSubCommands John M. Schanck 2023-06-08 16:18:12 -07:00
  • e80fd1efe2 Add VirtualFidoDevice and send_to_virtual_device John M. Schanck 2023-06-08 13:36:56 -07:00
  • fa02ffe1bd Factor FidoDeviceIO trait out of FidoDevice John M. Schanck 2023-06-04 10:49:11 -07:00
  • 10d27db357 Add FidoDevice::get_protocol and downgrade_to_ctap1 John M. Schanck 2023-06-05 16:28:22 -07:00
  • 897f15a40b Fix #274: Select a reasonable default pin protocol when pinUvAuthProtocols is absent from GetInfo response Martin Sirringhaus 2023-06-07 14:23:38 +02:00
  • c19a3ea625 Move get/set_device_info to HIDDevice and remove U2FDeviceInfo status updates John M. Schanck 2023-06-01 14:53:25 -07:00
  • b444f325d9 Allow long CTAPHID_INIT responses John M. Schanck 2023-06-01 14:13:00 -07:00
  • 9f1b3acdbb Merge branch 'msirringhaus-drop_nom' into ctap2-2021 John M. Schanck 2023-06-01 12:20:20 -07:00
  • 5d0ae37b24 Decouple the abstract FidoDevice trait from HIDDevice and U2FDevice John M. Schanck 2023-05-25 15:17:36 -07:00
  • 09acd61b40 Remove nom Martin Sirringhaus 2023-05-17 14:46:40 +02:00
  • 3df0a9990d Move protocol logic out of StateMachine John M. Schanck 2023-05-25 15:17:36 -07:00
  • e0ff05139f Add LoongArch64 support Zhao Jiazhong 2023-05-31 09:38:46 +08:00
  • c2ee0f7b71 Export AuthenticatorService::add_transport John M. Schanck 2023-03-29 20:57:17 -07:00
  • fadb66b63f Bump version to 0.4.0-alpha.15 John M. Schanck 2023-05-15 12:03:02 -07:00
  • 2da9e9912e Don't assume CTAP2 support based on CBOR capability John M. Schanck 2023-05-13 11:50:26 -07:00
  • 1aaf0540ff Add StatusUpdate::PresenceRequired John M. Schanck 2023-05-12 20:44:33 -07:00
  • 1d7201deaf Don't assume CTAP2 support based on CBOR capability ctap1-init John M. Schanck 2023-05-13 11:50:26 -07:00
  • e5e9fdc86d Avoid dropping reserved / unknown authenticator data flags John M. Schanck 2023-05-11 10:24:36 -07:00
  • e6f7f1c7e1 Add missing use declarations John M. Schanck 2023-05-11 09:38:13 -07:00
  • f09873fa07 Adressing feedback Martin Sirringhaus 2023-05-08 16:48:18 +02:00
  • e7f2c3d134 Add new EmptyAllowList-error to test-binary for ctap1-case Martin Sirringhaus 2023-04-27 09:08:42 +02:00
  • e93777a240 Add additional filtering step, if the device specifies a max. key-id lenght Martin Sirringhaus 2023-04-21 14:09:43 +02:00
  • af40f854f7 Fix clippy warnings Martin Sirringhaus 2023-04-21 13:40:09 +02:00
  • a5ed5346a7 Add GetAssertion pre-flight test for CTAP2 Martin Sirringhaus 2023-04-21 13:36:21 +02:00
  • 82034738a2 Fix GetAssertion-tests Martin Sirringhaus 2023-04-21 10:59:07 +02:00
  • f9fbf12662 Deduplicate CTAP1 pre-flight code Martin Sirringhaus 2023-04-21 09:27:04 +02:00
  • 994e4aa7ff Implement pre-flight for CTAP2 Martin Sirringhaus 2023-04-21 09:08:44 +02:00
  • cf40fadc62 Move pre-flight of CTAP1 to its own file Martin Sirringhaus 2023-04-20 12:55:37 +02:00
  • ca60b4d95b Merge remote-tracking branch 'upstream/ctap2-2021' into preflight Martin Sirringhaus 2023-05-10 14:41:09 +02:00
  • 42a9907ee5 Adressing feedback Martin Sirringhaus 2023-05-08 16:48:18 +02:00
  • 99b4720606 Expose AuthenticatorError::CredentialExcluded in public API John M. Schanck 2023-05-05 14:13:05 -07:00
  • b83afb7cde Bump version to 0.4.0-alpha.14 John M. Schanck 2023-05-01 15:47:30 -07:00
  • c5d69d976a Send SelectDeviceNotice status in response to DeviceCommand::Blink John M. Schanck 2023-04-27 08:36:29 -07:00
  • 2f96e0be64 Remove HIDDevice::clone_device_as_write_only John M. Schanck 2023-04-26 15:09:52 -07:00
  • cb44fd3918 Add interactive token management functionality Martin Sirringhaus 2023-02-23 12:28:21 +01:00
  • 62260b0d6c Add new EmptyAllowList-error to test-binary for ctap1-case Martin Sirringhaus 2023-04-27 09:08:42 +02:00
  • 09e234193d Add additional filtering step, if the device specifies a max. key-id lenght Martin Sirringhaus 2023-04-21 14:09:43 +02:00
  • 90bf561bb3 Fix clippy warnings Martin Sirringhaus 2023-04-21 13:40:09 +02:00
  • 98a5d46ea4 Add GetAssertion pre-flight test for CTAP2 Martin Sirringhaus 2023-04-21 13:36:21 +02:00
  • ff92c5cafc Fix GetAssertion-tests Martin Sirringhaus 2023-04-21 10:59:07 +02:00
  • bb8cac3100 Deduplicate CTAP1 pre-flight code Martin Sirringhaus 2023-04-21 09:27:04 +02:00
  • 6f8a129063 Implement pre-flight for CTAP2 Martin Sirringhaus 2023-04-21 09:08:44 +02:00
  • ebcfdd2b60 Move pre-flight of CTAP1 to its own file Martin Sirringhaus 2023-04-20 12:55:37 +02:00
  • 4845e4869d Remove status update serialization John M. Schanck 2023-04-26 09:57:28 -07:00
  • 07037b767c Set uv=true when required in a skip_uv edge case John M. Schanck 2023-04-26 09:54:21 -07:00
  • e9fcbb0847 Rename UnsupportedOption::AllowList as UnsupportedOption::EmptyAllowList John M. Schanck 2023-04-25 12:05:03 -07:00
  • 719781fb50 Remove PinUvAuthCommand::get_uv_option John M. Schanck 2023-04-24 22:20:31 -07:00
  • a8a21d2aca Limit the use of set_uv_option John M. Schanck 2023-04-24 22:12:42 -07:00
  • 7688ba87e9 Improve handling of MakeCredentialOptions and GetAssertionOptions John M. Schanck 2023-04-24 16:17:14 -07:00
  • eb6772d245 Pass uv requirement through to get_pin_auth_param John M. Schanck 2023-04-24 16:15:50 -07:00
  • 4cfd0668e7 Make Required/Preferred/Discouraged arguments explicit John M. Schanck 2023-04-24 12:24:52 -07:00
  • 8b1d425559 Add fallback option to CTAP2 example John M. Schanck 2023-04-20 14:28:58 -07:00
  • 2111d9bec9 Fix device selection Martin Sirringhaus 2023-04-24 13:24:21 +02:00