Commit Graph

  • d0924f5ecc Some optimizations to speed up tests. Pol Henarejos 2022-12-09 19:02:23 +01:00
  • 866d69a82d CredMgmt must be redeclared everytime, since PinToken might be changed due to underlaying doMC. Pol Henarejos 2022-12-09 18:42:59 +01:00
  • 00ba0db87a Test fixes for credMgmt. Pol Henarejos 2022-12-09 16:34:12 +01:00
  • c5644d14b0 Fix token precedence Pol Henarejos 2022-12-09 16:28:03 +01:00
  • 2cf211cbd0 Fix clearing token rp link. Pol Henarejos 2022-12-09 16:27:41 +01:00
  • 50418113a9 Authenticator may return 1 number of credentials (not None). Pol Henarejos 2022-12-09 14:21:04 +01:00
  • 3a92238c0c Fix returning numberOfCredentials based on up and uv flags in the request (not in the response). Pol Henarejos 2022-12-09 14:20:42 +01:00
  • 270a54f3b7 Adding parenthesis for clearer statement Pol Henarejos 2022-12-09 14:19:28 +01:00
  • a8364c281b When doing GA, GET permission is necessary. Pol Henarejos 2022-12-09 13:33:51 +01:00
  • 5dcf89cd66 Fix critical bug caused by double free(). Pol Henarejos 2022-12-09 13:13:47 +01:00
  • 5c7be811e8 Return largeBlobKey on getAssertion if credential has largeKeyBlob and if requested. Pol Henarejos 2022-12-07 21:03:30 +01:00
  • 1707430593 Return largeBlobKey on makeCredential if requested. Pol Henarejos 2022-12-07 21:02:52 +01:00
  • a151dc72e4 Embed largeBlobKey presence in credId. Pol Henarejos 2022-12-07 21:02:23 +01:00
  • 315f01372e Adding largeBlobKey in getInfo. Pol Henarejos 2022-12-07 21:02:08 +01:00
  • 860cca53e0 Added key derivation for large blob. Pol Henarejos 2022-12-07 17:07:16 +01:00
  • d7016f6065 Add MAX_MSG_SIZE in getInfo. Pol Henarejos 2022-12-07 17:01:01 +01:00
  • 8e9eafaec5 Fix important potential buffer overflow deriving the credential key. Pol Henarejos 2022-12-07 16:35:19 +01:00
  • 1376c51528 Fix credProtect should not be returned on getAssertion. Pol Henarejos 2022-12-07 15:57:41 +01:00
  • fa5926a3cc credBlob is returned on getAssertion if requested. Pol Henarejos 2022-12-07 15:55:27 +01:00
  • 710e03f5a6 Process credBlob on makeCredential. Pol Henarejos 2022-12-07 15:54:57 +01:00
  • 9d79505c5a Embed credBlob onto credId. Pol Henarejos 2022-12-07 15:54:10 +01:00
  • 4cb0af5045 Defining max length for credBlobs Pol Henarejos 2022-12-07 15:48:46 +01:00
  • 196430517f Added credBlob in getInfo. Pol Henarejos 2022-12-07 15:07:02 +01:00
  • 083f9bc787 Moving HSM pointer to support EA. Pol Henarejos 2022-12-07 15:06:29 +01:00
  • eb66ec3064 Upgrade to v2.8 Pol Henarejos 2022-12-07 11:15:44 +01:00
  • e5834ff7c4 Upgrading to v2.6 v2.6 Pol Henarejos 2022-12-07 11:07:43 +01:00
  • 3f1aba889e Adding algorithms to get info. Pol Henarejos 2022-12-01 20:13:28 +01:00
  • 58fbea8929 Added a flag (--filename) to upload an enterprise attestation certificate. Pol Henarejos 2022-12-01 19:30:00 +01:00
  • 8bf53a6497 Return EA certificate if present. Pol Henarejos 2022-12-01 19:22:05 +01:00
  • c89b044825 Added a subcommand to upload an enterprise certificate for enterprise attestation. Pol Henarejos 2022-12-01 19:21:45 +01:00
  • 004073c3dd Adding FID for Enterprise certificate. Pol Henarejos 2022-12-01 19:20:19 +01:00
  • bae8450a8d Added first step to Enterprise Attestation. Pol Henarejos 2022-11-30 23:41:05 +01:00
  • a355f87f82 Fix freeing memory on x509. Pol Henarejos 2022-11-30 23:37:34 +01:00
  • b023668788 Moving pointer of HSM SDK (again). Pol Henarejos 2022-11-28 18:55:51 +01:00
  • 1b6d1e4b7f Moving pointer of HSM SDK. Pol Henarejos 2022-11-28 18:52:05 +01:00
  • 3bea6adf7a Fix requesting CM permission in credMgmt preview. Pol Henarejos 2022-11-28 18:50:23 +01:00
  • 54c2df3570 Fix cred RP enumeration return value. Pol Henarejos 2022-11-28 18:41:51 +01:00
  • ae42e28384 Added support for credMgmt preview, despite this info is not broadcasted. Pol Henarejos 2022-11-28 18:27:52 +01:00
  • 71c0e865dc Fixed RP attachment to token. v2.8 Pol Henarejos 2022-11-28 18:27:12 +01:00
  • 052ff2d60a Fix requesting a UV token. Pol Henarejos 2022-11-28 18:02:53 +01:00
  • 8b70c864a4 Added support for enterprise attestation. Pol Henarejos 2022-11-28 17:39:21 +01:00
  • 765db0e98b Update README.md Pol Henarejos 2022-11-24 15:35:34 +01:00
  • 6b2e95deb0 Adding support for minPinLength extension. Pol Henarejos 2022-11-23 19:11:03 +01:00
  • d45fa9aae0 Added support for setMinPinLength. Pol Henarejos 2022-11-23 17:01:18 +01:00
  • 23c7e16e6e Fix counting PIN retries. Pol Henarejos 2022-11-23 16:42:49 +01:00
  • 5923f435fe Add support for authenticatorConfig verification. Pol Henarejos 2022-11-23 15:24:09 +01:00
  • 04868f2d7b Added permissions support. Pol Henarejos 2022-11-23 13:00:28 +01:00
  • 54c0769dbd Upgrading to version 2.4 v2.4 Pol Henarejos 2022-11-15 12:12:06 +01:00
  • 0bbcba2f60 Upgrade to version 2.4 Pol Henarejos 2022-11-15 11:59:46 +01:00
  • 723648173d Update README.md Pol Henarejos 2022-11-15 11:59:06 +01:00
  • e6c128fe0d Linux uses the generic interface. Needs deep testing. Pol Henarejos 2022-11-07 13:15:24 +01:00
  • 2174b516c3 Using ecdh interface from mbedtls. Pol Henarejos 2022-11-07 13:15:09 +01:00
  • 4577e4430c Moving AUT UNLOCK to Vendor command instead of using VendorConfig. Pol Henarejos 2022-10-30 00:47:50 +02:00
  • 9a8f4c0f4d Moving to last pico-hsm-sdk to support Vendor command. Pol Henarejos 2022-10-29 19:41:28 +02:00
  • e21d985344 Adding support for specific vendor HID command (0x41). Pol Henarejos 2022-10-29 19:41:00 +02:00
  • 43cd8869f9 Adding support for backup. Pol Henarejos 2022-10-28 00:31:50 +02:00
  • a42131876f Adding disable secure key. Pol Henarejos 2022-10-27 20:11:12 +02:00
  • e1f4e3035d Adding first backend, for macOS. Pol Henarejos 2022-10-27 19:02:03 +02:00
  • 71ecb23af6 Adding support for disabling secure aut. Pol Henarejos 2022-10-24 00:04:55 +02:00
  • 8c21a2bbcd Adding command line parsing. Pol Henarejos 2022-10-23 23:24:35 +02:00
  • 53cc16ab6d Preliminar test tool for device lock/unlock Pol Henarejos 2022-10-19 18:33:11 +02:00
  • f213854f8b Added unlock config command to unlock the device at every boot with an external key. Pol Henarejos 2022-10-19 16:39:13 +02:00
  • 2c125e76eb Add ef of keydev encrypted. Pol Henarejos 2022-10-19 16:38:17 +02:00
  • 19d8f16056 Clean struct before return. Pol Henarejos 2022-10-19 16:37:56 +02:00
  • 40065217fd Add a config command to unlock. Pol Henarejos 2022-10-19 16:37:42 +02:00
  • 32c938674a Adding pico-fido-tool for enabling some configs. Pol Henarejos 2022-10-17 17:37:54 +02:00
  • 4425722a71 Adding support for CBOR CONFIG. Pol Henarejos 2022-10-17 17:37:39 +02:00
  • 69eef7651c Adding EF_KEY_DEV_ENC. Pol Henarejos 2022-10-17 17:35:57 +02:00
  • 7f97ea4f24 Updating readme v2.2 Pol Henarejos 2022-10-05 12:56:50 +02:00
  • 467523769e Upgrading version to v2.2. Pol Henarejos 2022-10-05 11:09:36 +02:00
  • 2d295d0d98 Fix severe bug zeroing outside memory. Pol Henarejos 2022-10-05 11:09:03 +02:00
  • 0758644583 Fix generic build Pol Henarejos 2022-10-05 11:01:54 +02:00
  • c3a5b8e708 Adding building script Pol Henarejos 2022-10-05 06:55:32 +02:00
  • b134d261ae Adding hid tests. They worked... meh Pol Henarejos 2022-10-04 20:02:36 +02:00
  • 4f93b984cd Adding U2F tests. Pol Henarejos 2022-10-04 19:38:07 +02:00
  • 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