Commit Graph

  • ea0547ef49 Adding tests for credProtect. Pol Henarejos 2022-10-04 17:29:47 +02:00
  • e5b7dff8cc Adding credential management tests. Pol Henarejos 2022-10-04 16:58:59 +02:00
  • 6a077d0d8f Enabling credential management. Pol Henarejos 2022-10-04 16:58:49 +02:00
  • 7c271fc4f3 Fix counting mismatches. Pol Henarejos 2022-10-04 16:58:33 +02:00
  • 2734259c02 Cosmetic changes Pol Henarejos 2022-10-04 16:58:19 +02:00
  • ba4faa9840 No more icon Pol Henarejos 2022-10-04 16:58:03 +02:00
  • 746c324113 Adding client_pin fixture. Pol Henarejos 2022-10-04 16:57:54 +02:00
  • ac224063fc Fix freeing memory. Pol Henarejos 2022-10-04 16:57:45 +02:00
  • cf4778b9ad Fixes in enumerations. Pol Henarejos 2022-10-04 16:57:34 +02:00
  • 3f80acc81b Added ctap1 interoperability test. Pol Henarejos 2022-10-04 11:42:54 +02:00
  • 4cea6ebe87 U2F keys shall be verified only when the credID is u2f. Pol Henarejos 2022-10-04 11:42:41 +02:00
  • 02e5eb8dba Updating pointer Pol Henarejos 2022-10-04 00:37:24 +02:00
  • 037019b348 Update codeql.yml Pol Henarejos 2022-10-04 00:33:54 +02:00
  • ae237db9ca Added tests for PIN. Pol Henarejos 2022-10-04 00:00:13 +02:00
  • c2e16fda41 Fix change pin for protocol v2. Pol Henarejos 2022-10-04 00:00:03 +02:00
  • f84d36b1da Add return error when no pin is set on getUVToken. Pol Henarejos 2022-10-03 17:47:27 +02:00
  • 04aaf0f572 Fix test. Pol Henarejos 2022-10-03 16:10:45 +02:00
  • 577edbb62f Adding hmac-secret tests. Pol Henarejos 2022-10-03 16:10:36 +02:00
  • 40b5f70761 Fixes with hmac-secret and ProtocolV2. Pol Henarejos 2022-10-03 16:10:12 +02:00
  • a294840425 Make more easy encryption/decryption with ProtocolV2. Pol Henarejos 2022-10-03 16:09:59 +02:00
  • d786a9c6e5 User data is returned when there are more than 1 credential. Pol Henarejos 2022-10-03 10:44:57 +02:00
  • b87eb3f278 Credentials are sequentially returned only if allowList is empty. Also, user data is returned only when more than 1 credential is returned (and thus, are discoverable). Pol Henarejos 2022-10-03 10:43:24 +02:00
  • 6f226001df More test fixes. Pol Henarejos 2022-10-03 01:24:17 +02:00
  • 6e91694253 Only return user fields on discoverable request. Pol Henarejos 2022-10-03 01:24:05 +02:00
  • 0c5b308aef Only return numberOfCredentials if allowList is empty. Pol Henarejos 2022-10-03 01:11:51 +02:00
  • 3fc41a12a7 Only return other user fields if credentials > 1. Pol Henarejos 2022-10-03 00:53:31 +02:00
  • 8ad8c82baf Adding test discoverable. Pol Henarejos 2022-10-02 20:31:59 +02:00
  • 85818d009c Fix adding icon field to user. Pol Henarejos 2022-10-02 20:31:43 +02:00
  • bb069c5651 Get assertion also returns userName and userDisplayName. Pol Henarejos 2022-10-02 20:24:29 +02:00
  • e3b036456f One more test Pol Henarejos 2022-10-02 00:54:38 +02:00
  • 47ea749454 Adding authentication tests. Pol Henarejos 2022-10-02 00:28:13 +02:00
  • cb4827688b Fix missing parameters. Pol Henarejos 2022-10-02 00:27:15 +02:00
  • d43b6caf16 Finalizing register tests. Pol Henarejos 2022-09-30 20:48:17 +02:00
  • 7534d7bb76 Update workflow to include python Pol Henarejos 2022-09-30 17:30:26 +02:00
  • cc8d9e0741 Adding first tests. Pol Henarejos 2022-09-30 12:06:43 +02:00
  • 4e94cbe40e Finalizing credmgmt. Pol Henarejos 2022-09-28 22:57:27 +02:00
  • b1b9dad9f5 Only increase rps if it is not an update. Pol Henarejos 2022-09-28 22:57:02 +02:00
  • 0c51160d23 Adding more subpara. Pol Henarejos 2022-09-28 20:46:57 +02:00
  • 958a20ce11 Fix public key size. Pol Henarejos 2022-09-28 20:46:45 +02:00
  • 1e7d711c03 Adding cred_mgmt. Not finished. Pol Henarejos 2022-09-28 17:48:47 +02:00
  • cc0a181f75 Renaming authenticator selection. Pol Henarejos 2022-09-28 12:02:52 +02:00
  • b8568d834a Adding CRED_PROTO. Pol Henarejos 2022-09-28 11:54:39 +02:00
  • 174241c0a0 Fix generating random IV on credential creation. Pol Henarejos 2022-09-28 11:52:48 +02:00
  • fa17d5c906 Fix increasing sign counter. Pol Henarejos 2022-09-27 22:36:19 +02:00
  • 7a4be766bc Comparing appId with bogus apps. Pol Henarejos 2022-09-27 22:10:31 +02:00
  • 1835afe54a Fix making new credential when up is absent. Pol Henarejos 2022-09-27 22:10:11 +02:00
  • ad07052e6a PIN protocol 2 fixes. Pol Henarejos 2022-09-27 22:09:46 +02:00
  • da577b8e8d Debug all CBOR. Pol Henarejos 2022-09-27 22:09:25 +02:00
  • 0ec563c8de Adding authenticatorSelection 0x0B support. Pol Henarejos 2022-09-27 12:24:22 +02:00
  • d4b7bfd6cc Fix generating cert dev. Pol Henarejos 2022-09-27 12:24:02 +02:00
  • 995870d77e Moving some defines. Pol Henarejos 2022-09-27 12:23:43 +02:00
  • 8338762bcd Adding autobuild.sh v2.0 Pol Henarejos 2022-09-25 18:51:26 +02:00
  • 11a0b2cb43 Update codeql.yml Pol Henarejos 2022-09-25 18:56:44 +02:00
  • 957bcae183 Create codeql.yml Pol Henarejos 2022-09-25 18:33:03 +02:00
  • 109cd4e4ea Upgrading to Version 2.0 Pol Henarejos 2022-09-25 18:15:59 +02:00
  • 8c61cf180d Upgrading Pico HSM SDK pointer. Pol Henarejos 2022-09-25 18:15:48 +02:00
  • 4fd9e80e92 Adding credProtect on getinfo. Pol Henarejos 2022-09-25 18:13:03 +02:00
  • 01a3c0c60e Adding firmware field on getinfo. Pol Henarejos 2022-09-25 18:12:19 +02:00
  • 7a3996da02 Updating readme. Pol Henarejos 2022-09-25 18:10:07 +02:00
  • 48f358cb19 Adding default options on make cred. Pol Henarejos 2022-09-25 18:09:46 +02:00
  • 074dd80afe Adding support of credProtect on excludeList when make cred. Pol Henarejos 2022-09-23 18:49:12 +02:00
  • 9cbb53716b Fix return errors. Pol Henarejos 2022-09-23 18:29:23 +02:00
  • 7a6b8a6af4 Added size check. Pol Henarejos 2022-09-23 18:20:39 +02:00
  • eb318bc381 Return error on bad CLA. Pol Henarejos 2022-09-23 18:13:01 +02:00
  • 0e4532a22c Adding check UP if not provided. Pol Henarejos 2022-09-23 18:07:16 +02:00
  • bfc82d5de4 Reset must be confirmed always. Pol Henarejos 2022-09-23 18:07:05 +02:00
  • d558941311 Credentials now include a flag to mark whether they are resident or not. Pol Henarejos 2022-09-23 17:30:07 +02:00
  • 9fa2c5d39c Display more debug info on error. Pol Henarejos 2022-09-23 17:29:22 +02:00
  • cd66e65b9c Adding ENABLE_POWER_RESET to enable power cycle for reset command. Enabled by default. Pol Henarejos 2022-09-23 16:46:16 +02:00
  • a165d286af Fix returning errors on hmac-secret. Pol Henarejos 2022-09-23 15:17:46 +02:00
  • 9bf40e69af Fix parsing hmac_secret on assertion. Pol Henarejos 2022-09-23 12:03:18 +02:00
  • 71564e0c79 Fix concurrency when loading FIDO. Pol Henarejos 2022-09-23 11:41:28 +02:00
  • be68d5516f Making assertion for U2F. Pol Henarejos 2022-09-23 11:41:07 +02:00
  • 2c4c618e3b Loading credential if it belongs to U2F. Pol Henarejos 2022-09-23 11:40:39 +02:00
  • dd4b52faf3 Fix authenticating MSG from CTAP2 and U2F. Pol Henarejos 2022-09-23 11:03:13 +02:00
  • e94f6843e5 Adding cmake option ENABLE_UP_BUTTON to enable/disable user presence confirmation via button. Enabled by default. Pol Henarejos 2022-09-23 09:21:32 +02:00
  • cbfe66e89b Not necessary scan on every call. Pol Henarejos 2022-09-22 23:56:48 +02:00
  • 883c5fef35 Removing debugs. Pol Henarejos 2022-09-22 23:54:11 +02:00
  • 40110ad602 Fix generating dev cert. Pol Henarejos 2022-09-22 22:52:23 +02:00
  • 61b10b7971 Fix get sign counter. Pol Henarejos 2022-09-22 22:52:10 +02:00
  • 2d496fd8fc Random functions shall be called for each core, otherwise it will hung. Pol Henarejos 2022-09-22 20:18:05 +02:00
  • cc373e3e7e Adding send_keepalive(). Pol Henarejos 2022-09-22 19:25:52 +02:00
  • 4360ab0375 Device key must not be persistent across resets. Pol Henarejos 2022-09-22 19:25:44 +02:00
  • 73c846e985 Credentials are reset on reset, as the device key also changes. Pol Henarejos 2022-09-22 19:25:26 +02:00
  • d95bc1aba6 Reset shall call for user presence and can only be called within the 10 seconds from boot. Pol Henarejos 2022-09-22 19:25:04 +02:00
  • 2d5fffedb9 Fix resetting pin mismatches. Pol Henarejos 2022-09-22 19:24:28 +02:00
  • f045ec8d03 card_init_core1() shall be called from every thread launched on core1. Pol Henarejos 2022-09-22 19:24:07 +02:00
  • e0d8ce7637 Fix encoding credential. Pol Henarejos 2022-09-22 10:24:38 +02:00
  • 86e3c960a4 Fix when no pin is provided. Pol Henarejos 2022-09-22 10:00:06 +02:00
  • 864965c1fe Fix verying when no paut is in use. Pol Henarejos 2022-09-22 09:59:17 +02:00
  • 3b25eb295c Fix get assertion. Pol Henarejos 2022-09-22 09:30:13 +02:00
  • 226fcc5405 Fixing next get assertion. Pol Henarejos 2022-09-21 23:44:47 +02:00
  • 5625e0dacd Adding preliminary support for get next assertion. Pol Henarejos 2022-09-21 20:02:19 +02:00
  • cf206bf158 Credentials CANNOT be regenerated, as they depend on random IV. Pol Henarejos 2022-09-21 19:53:36 +02:00
  • a44227db52 Fix encoding extensions. Pol Henarejos 2022-09-21 19:53:11 +02:00
  • 4ab898378a More fixes Pol Henarejos 2022-09-21 16:30:49 +02:00
  • 99fc76a385 Finalizing get assertion. Pol Henarejos 2022-09-21 14:29:28 +02:00
  • f71624f489 More steps. Pol Henarejos 2022-09-21 00:00:51 +02:00
  • 08c3c3344c Moving up and uv flags to paut. Pol Henarejos 2022-09-21 00:00:25 +02:00
  • 804970e77a Using extensions and fixing up and uv flags. Pol Henarejos 2022-09-21 00:00:10 +02:00