Commit Graph

  • 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
  • c938d47bf7 Adding extensions struct. Pol Henarejos 2022-09-20 23:59:52 +02:00
  • 22a2ea109e Adding unfinished get_assertion. Pol Henarejos 2022-09-20 20:04:54 +02:00
  • 3a3ec97c90 Fix saving creds. Pol Henarejos 2022-09-20 19:56:20 +02:00
  • 8a379d9702 Adding Credential manager. Pol Henarejos 2022-09-20 19:50:33 +02:00
  • 72ebb2b596 Adding Credential management. Pol Henarejos 2022-09-20 17:31:09 +02:00
  • 3dc7af05c1 More fixes. Pol Henarejos 2022-09-20 15:07:48 +02:00
  • a3c60f762d Reorganizing core0/core1 split. Pol Henarejos 2022-09-20 14:39:59 +02:00
  • 8feac76a73 If user has introduced PIN, it is verified. Pol Henarejos 2022-09-20 11:50:45 +02:00
  • f439b85de7 clientPIN passes the first test. Pol Henarejos 2022-09-20 11:38:59 +02:00
  • ee8f3a0965 Adding support for clientPIN. Pol Henarejos 2022-09-19 17:20:52 +02:00
  • 199091e2b9 Adding file debug. Pol Henarejos 2022-09-19 17:20:10 +02:00
  • 24f48e33bb Reset nows flushes the memory storage. Pol Henarejos 2022-09-19 17:20:00 +02:00
  • 479aae2ef9 Adding support for CTAP_2_0 and minPINlength. Pol Henarejos 2022-09-19 17:19:45 +02:00
  • fd7da11931 More fixes. Finally it passes all tests. Pol Henarejos 2022-09-16 17:13:26 +02:00
  • a80247ffa2 Check required parameters in excludeList. Pol Henarejos 2022-09-16 16:27:56 +02:00
  • c9c10eca36 Fix excludeList parsing. Pol Henarejos 2022-09-16 16:23:27 +02:00
  • 11642fe0a3 Fixes with missing parameters. Pol Henarejos 2022-09-16 15:59:20 +02:00
  • a9cb5ee87c More fixes. Pol Henarejos 2022-09-16 12:06:54 +02:00
  • 2c6b14822e Fixed many bugs. It works. Pol Henarejos 2022-09-16 11:19:54 +02:00
  • 1b70c21588 Added macro for windows compilation. Pol Henarejos 2022-09-16 11:19:20 +02:00
  • aa15ad471b Fix order of items. Pol Henarejos 2022-09-16 11:19:08 +02:00
  • 20038b1586 Lots of efforts for make_Credential. Pol Henarejos 2022-09-16 00:50:19 +02:00
  • 5da2af2c34 Accepting curves for key_derivation as a parameter. Pol Henarejos 2022-09-16 00:49:59 +02:00
  • 9b49d39ccc Scan files at the beginning. Pol Henarejos 2022-09-16 00:49:25 +02:00
  • 84a91fcbda Adding known apps. Pol Henarejos 2022-09-16 00:48:58 +02:00