Commit Graph

  • 97d05df597 fix clippy 1.82.0 lints ctap2-2021 John M. Schanck 2025-11-05 10:30:14 -08:00
  • 8d6f114855 use serde_cbor_2 instead of serde_cbor John M. Schanck 2025-11-05 09:40:06 -08:00
  • c8226060f7 Bump rust-toolchain.toml channel to 1.82.0 John M. Schanck 2025-11-05 10:06:44 -08:00
  • d601a4ecb0 Bump core-foundation dependency ComplexSpaces 2025-11-05 21:33:37 +09:00
  • fb4e82e8a0 New struct members added in CTAP 2.2 Martin Sirringhaus 2024-02-21 13:53:54 +01:00
  • b5beeeea45 Use workaround for broken generic array 0.14.9 by using the new version in compat-mode Martin Sirringhaus 2025-10-23 15:40:26 +02:00
  • 847c7bde52 Remove apparently deprecated as_slice()-calls for Hash-results Martin Sirringhaus 2025-10-23 15:24:41 +02:00
  • 43c0cf17ca Address feedback Martin Sirringhaus 2025-10-23 13:51:17 +02:00
  • d62d60266f Adding tests (and some minor fixes the tests revealed) Martin Sirringhaus 2024-02-09 14:35:13 +01:00
  • 170217a934 Add largeBlobKeys-extension Martin Sirringhaus 2024-02-01 16:14:28 +01:00
  • ec98cd0ca1 Add credBlob-extension Martin Sirringhaus 2024-02-01 08:10:01 +01:00
  • 13c7ee20ba Bump version to 0.5.0 John M. Schanck 2025-10-22 11:05:29 -07:00
  • 04f751ce09 fix several build warnings John M. Schanck 2025-10-22 11:35:36 -07:00
  • 6a934b13a7 Add build support and ioctl bindings for sparc64 John Paul Adrian Glaubitz 2025-05-12 09:10:04 +02:00
  • 3dd9977e26 Add RustCrypto backend for crypto module/provider ComplexSpaces 2025-10-21 02:02:02 -05:00
  • b440e57f00 Tolerate unknown AuthenticatorVersion values while deserializing Emil Lundberg 2025-06-10 14:23:46 +02:00
  • 87f812bb78 Use AuthenticatorVersion in crypto module Emil Lundberg 2025-06-10 14:34:04 +02:00
  • 90c9fcd5c4 Remove now-redundant return statements Emil Lundberg 2025-06-10 14:22:12 +02:00
  • faea4af2e8 Extract function PinUvAuthProtocol::from_id Emil Lundberg 2025-06-10 14:21:21 +02:00
  • 9410d65037 Only create shared secret, when hmac is requested for CTAP2.0 tokens Martin Sirringhaus 2024-12-13 13:47:37 +01:00
  • 1959330d90 Bump version to 0.4.1 John M. Schanck 2024-09-25 15:48:10 -07:00
  • d611d68f65 Use rsaEncryption OID for RSA keys John M. Schanck 2024-08-30 13:36:04 -07:00
  • b04ce2f8de Bump version to 0.4.0 John M. Schanck 2024-07-25 11:05:22 -07:00
  • c3defd344c Add support for WebAuthn PRF extension (#337) Emil Lundberg 2024-07-25 19:06:59 +02:00
  • 86ca74704e Fix typo Emil Lundberg 2024-07-19 02:03:46 +02:00
  • aace29d1e7 Remove identifier from first 10 entries of serialize_map_optional! Emil Lundberg 2024-07-09 19:14:31 +02:00
  • a05a04c704 Add tests of serialize_map_optional! Emil Lundberg 2024-07-09 18:27:37 +02:00
  • fb98f433aa Don't require crypto backend for util::decode_hex Emil Lundberg 2024-07-09 19:11:01 +02:00
  • eaf32fc403 Eliminate single-use variable Emil Lundberg 2024-07-09 18:26:58 +02:00
  • 2af9bf5905 Use fully qualified type and method names in serialize_map! macros Emil Lundberg 2024-07-09 19:17:57 +02:00
  • 83f10e18d9 Move SerializeMap import inside serialize_map! macros Emil Lundberg 2024-07-09 18:26:22 +02:00
  • 30bdcbad2d Serialize AttestationStatementFidoU2F in canonical order Emil Lundberg 2024-07-06 01:23:47 +02:00
  • 5132d8c5c5 Use macro serialize_map! in impl Serialize for AttestationObject Emil Lundberg 2024-07-06 01:13:45 +02:00
  • 9d141ae751 Don't evaluate values twice in serialize_map! Emil Lundberg 2024-07-06 03:21:38 +02:00
  • e3a81a350b Extract serialize_map! macros Emil Lundberg 2024-07-06 01:26:40 +02:00
  • 214a760462 Add test of BioEnrollment serialization Emil Lundberg 2024-07-06 15:52:39 +02:00
  • d342d8b5bf Add test of BioEnrollmentParams serialization Emil Lundberg 2024-07-06 15:48:13 +02:00
  • 0b45ce73ba Add test of CredManagementParams serialization Emil Lundberg 2024-07-06 15:44:29 +02:00
  • d67563c71c Add test of AuthenticatorConfig serialization Emil Lundberg 2024-07-06 15:39:26 +02:00
  • 7acca2a2db Add test of SetMinPINLength serialization Emil Lundberg 2024-07-06 15:24:16 +02:00
  • 2381450023 Add test of ClientPIN serialization Emil Lundberg 2024-07-06 15:17:16 +02:00
  • f8243224ef Add test of GetAssertion serialization Emil Lundberg 2024-07-06 04:24:22 +02:00
  • 3679ed054a Add test of MakeCredentials serialization Emil Lundberg 2024-07-06 03:53:25 +02:00
  • 713867c640 Add tests of AttestationObject and AttestationStatement serialization Emil Lundberg 2024-07-06 01:11:30 +02:00
  • b21f8fa7c5 Bump version to 0.4.0-alpha.24 John M. Schanck 2023-11-29 11:34:01 -08:00
  • 32f8e144ea Fix #319: CTAP2.0 bug in preflighting, which can omit credential data Martin Sirringhaus 2023-11-17 16:38:00 +01:00
  • be6526c432 Handle present-but-empty extension data when serializing AuthenticatorData John M. Schanck 2023-11-04 09:48:44 -07:00
  • 593f5052ba Fix new clippy warnings Martin Sirringhaus 2023-10-26 11:18:03 +02:00
  • 0737daf219 Use Mozilla minimum supported rust version in Github workflows Martin Sirringhaus 2023-10-26 10:51:43 +02:00
  • 24bfccc787 Bump version to 0.4.0-alpha.23 John M. Schanck 2023-10-05 15:55:06 -07:00
  • cb8a2c1d7d Return authenticator attachment with results John M. Schanck 2023-09-26 20:30:28 -07:00
  • 925b9b8dc6 Remove support for credProps for CTAP 2.0 devices John M. Schanck 2023-09-22 10:48:25 -07:00
  • c9a6692cfa Make finalize_result take a FidoDevice as input John M. Schanck 2023-09-22 10:38:29 -07:00
  • d37f5ad4b2 Remove unnecessary RelyingPartyWrapper type John M. Schanck 2023-09-26 11:06:29 -07:00
  • 915bcbc289 Bump version to 0.4.0-alpha.22 John M. Schanck 2023-09-19 15:40:54 -07:00
  • d3a0d09f48 Add StatusUpdate::SelectResultNotice John M. Schanck 2023-09-17 13:25:17 -07:00
  • 5d20800714 Rename User to PublicKeyCredentialUserEntity John M. Schanck 2023-09-16 12:15:48 -07:00
  • f96f75384d Forbid empty integer in DER encoder John M. Schanck 2023-09-14 20:52:52 -07:00
  • 4eab8e204a Add der_spki() methods for all supported key types John M. Schanck 2023-09-13 09:05:23 -07:00
  • 0c72ccaa4e Fix OKP key map length John M. Schanck 2023-09-13 09:04:36 -07:00
  • 7fa6364de4 Dont ignore cached PUATs for devices < FIDO_2_1 Martin Sirringhaus 2023-09-13 15:07:19 +02:00
  • 8a22b32fc2 Bump version to 0.4.0-alpha.21 John M. Schanck 2023-09-11 15:06:24 -07:00
  • 282a08c89e Remove legacy_register and legacy_sign John M. Schanck 2023-09-11 10:11:01 -07:00
  • 7227568b00 Allow FnOnce callback functions John M. Schanck 2023-09-08 17:04:34 -07:00
  • 2cff8a50ed Call finalize_result after CTAP1 MakeCredentials requests John M. Schanck 2023-09-10 12:06:31 -07:00
  • fc99667f4e Fix credProtect support detection for CTAP1 devices John M. Schanck 2023-09-08 14:06:24 -07:00
  • bf76a7dc66 clippy John M. Schanck 2023-09-08 12:06:57 -07:00
  • 8f4914023e Update support for hmac-secret extension in MakeCredentials John M. Schanck 2023-09-08 11:27:45 -07:00
  • 1a1d712e9e rustfmt John M. Schanck 2023-09-08 10:03:02 -07:00
  • d5092e7637 Rename MakeCredentialsExtensions::has_extensions to has_content John M. Schanck 2023-09-07 14:53:44 -07:00
  • 9fb9fa9504 Derive Serialize for GetAssertionExtensions John M. Schanck 2023-09-07 14:53:26 -07:00
  • 0cb2b9573b Make Extension::has_some public for virtual authenticators John M. Schanck 2023-09-08 10:07:56 -07:00
  • b2b2fb3977 Add support for the credProtect extension John M. Schanck 2023-09-08 10:07:23 -07:00
  • bbba54700e Add support for the minPinLength extension John M. Schanck 2023-09-07 12:58:38 -07:00
  • d512ad9b5d Rework support for AppId extension John M. Schanck 2023-09-08 09:56:09 -07:00
  • a00fd64edc Add support for the credProps extension John M. Schanck 2023-09-08 09:53:31 -07:00
  • cb8391a834 Add finalize_result to MakeCredentials/GetAssertion for extension handling John M. Schanck 2023-09-08 09:53:12 -07:00
  • 60bef960dc Add extension fields to MakeCredentialsResult and GetAssertionResult John M. Schanck 2023-09-08 09:48:34 -07:00
  • c6af0730d8 Add ctap2::server::AuthenticatorExtensionsClientInputs and Outputs John M. Schanck 2023-08-29 16:55:01 -07:00
  • d5477d6c21 Use bitflag-contains instead of equality Martin Sirringhaus 2023-09-07 15:57:16 +02:00
  • 6957fa6fe4 Send AddSuccess instead of UpdateSuccess, in case we enrolled a fingerprint with a name provided. Martin Sirringhaus 2023-08-30 12:18:54 +02:00
  • 2a53e3e561 Only use cached PUAT if the permissions fit. Martin Sirringhaus 2023-08-30 12:13:44 +02:00
  • 1330c04ebe Automatically clear cached PUAT and try getting a new one, in case it is invalid. Martin Sirringhaus 2023-08-29 09:16:50 +02:00
  • dbdc97f786 Fix typo Martin Sirringhaus 2023-08-29 09:15:44 +02:00
  • 2596bbda8c Support deserialization of PublicKeyCredentialDescriptor from JSON and from CBOR. Martin Sirringhaus 2023-08-29 09:14:25 +02:00
  • 651ae814ee Return the correct CredentialExcluded error when handling CTAP1 devices John M. Schanck 2023-08-24 14:10:46 -07:00
  • 5ed5521fd1 Bump version to 0.4.0-alpha.20 John M. Schanck 2023-08-24 09:28:32 -07:00
  • c556ed481f backout auto_select feature John M. Schanck 2023-08-24 09:06:50 -07:00
  • 6cf178b114 Replace !auto_select with silent_creds.is_empty() John M. Schanck 2023-08-23 09:52:42 -07:00
  • 55a6bca36d Improve CTAP2 support of AppID extension John M. Schanck 2023-08-22 20:17:52 -07:00
  • 12ae64d141 Skip device selection when useful credentials are discovered silently John M. Schanck 2023-08-22 16:28:24 -07:00
  • 2c5f4537c9 Separate StateMachine::init_and_select into init_device and maybe_select_device John M. Schanck 2023-08-22 10:29:52 -07:00
  • 3a9279a01f Ignore errors in preflight John M. Schanck 2023-08-22 14:15:37 -07:00
  • 7da65ec245 Additional attestation statement formats John M. Schanck 2023-08-21 20:47:48 -07:00
  • 0a00a250ae Remove webdriver feature now that it has been moved to Firefox John M. Schanck 2023-08-21 16:54:13 -07:00
  • 4e416bdb56 Add AuthenticatorData::to_vec John M. Schanck 2023-08-21 16:45:36 -07:00
  • 4efb357f9e Rework integer<->enum conversions in crypto/mod.rs John M. Schanck 2023-08-23 10:40:09 -07:00
  • 08f327183a Fix serialization of COSE RSA keys John M. Schanck 2023-08-21 16:00:06 -07:00
  • 28036f3706 Fix COSEKeyTypeId serialization for non-EC keys John M. Schanck 2023-08-21 13:09:09 -07:00
  • d160f94e53 Remove icon field from WebAuthn PublicKeyCredentialEntitys John M. Schanck 2023-08-19 12:23:24 -07:00