Commit Graph

339 Commits

Author SHA1 Message Date
Kamran Khan 2c49718fee Lc3DataLe3 is not a valid case 2020-12-02 23:03:35 -08:00
Kamran Khan b9ffe7e4ce Use constant instead of hardcoded integer 2020-12-02 23:02:07 -08:00
Kamran Khan dc95310fc0 Clarify comments 2020-12-01 10:13:25 -08:00
Julien Cretin 042108e3d9 Reserve 700 additional keys for credential-related stuff 2020-12-01 17:46:28 +01:00
Julien Cretin b55d432043 Apply review comments 2020-12-01 15:39:51 +01:00
Julien Cretin 1db73c699b Apply review comments 2020-12-01 11:29:52 +01:00
Kamran Khan ce46af0b6b Make cargo fmt happy 2020-11-30 14:43:44 -08:00
Kamran Khan 94f548d5c5 Add extended APDU parser 2020-11-30 14:35:01 -08:00
Kamran Khan 5f5f72b6d1 Use arrayref for converting into ApduHeader 2020-11-30 02:04:52 -08:00
Julien Cretin 7997041be0 Merge branch 'master' into v2_lib 2020-11-30 10:34:54 +01:00
Kamran Khan d70dd24ffd Merge remote-tracking branch 'upstream/master' into apdu-parser-kk 2020-11-30 00:23:26 -08:00
Julien Cretin a0801c3023 Merge branch 'master' into v2_lib 2020-11-28 19:27:21 +01:00
Fabian Kaczmarczyck 2a4677c0b1 adds user data to persistent storage 2020-11-27 16:53:12 +01:00
Fabian Kaczmarczyck 1571f58cd3 wrapping_add in storage and more moving 2020-11-26 19:21:41 +01:00
kaczmarczyck 1d7365c4cb Merge branch 'master' into get-next-assertion 2020-11-26 18:51:06 +01:00
Jean-Michel Picod 3d1d827984 Address PR comments 2020-11-26 16:29:14 +01:00
Fabian Kaczmarczyck 3aef7e8b19 reuse update_command_permission 2020-11-26 15:56:59 +01:00
Fabian Kaczmarczyck ed59ebac0d command timeout for GetNextAssertion 2020-11-26 14:56:52 +01:00
Fabian Kaczmarczyck ffe19e152b moves UP check in GetAssertion before NO_CREDENTIALS 2020-11-26 14:41:22 +01:00
Fabian Kaczmarczyck 5ff3816782 sets the correct user and number of credentials 2020-11-26 14:41:22 +01:00
Fabian Kaczmarczyck af4eef8085 adds credential ordering 2020-11-26 14:41:21 +01:00
Fabian Kaczmarczyck 3ae59ce1ec GetNextAssertion command minimal implementation
This still lacks order of credentials and timeouts.
2020-11-26 14:41:21 +01:00
Jean-Michel Picod d491492554 Format 2020-11-25 17:48:47 +01:00
Jean-Michel Picod f2b3ca4029 Make private key sensitive and ensure attestation is OTP 2020-11-25 17:44:52 +01:00
Jean-Michel Picod f47e1e2a86 Ensure store behaves as expected in prod 2020-11-25 17:44:19 +01:00
Jean-Michel Picod 41f7cc7b14 CTAP1/U2F accesses attestation material through the store. 2020-11-25 17:31:05 +01:00
Jean-Michel Picod 026b4a66ac Fix CTAP2 batch attestation 2020-11-25 17:26:08 +01:00
Jean-Michel Picod 3dbfae972f Always insert attestation material in the store 2020-11-25 17:17:57 +01:00
Fabian Kaczmarczyck 65f4f2de25 moves shared precheck into helper function 2020-11-24 18:11:18 +01:00
kaczmarczyck bdc2504048 Merge branch 'master' into empty-auth-up 2020-11-24 17:42:05 +01:00
Fabian Kaczmarczyck 0b2ea7d98b makes HMAC secret output reproducible 2020-11-24 16:20:31 +01:00
Fabian Kaczmarczyck a099ddbabd introduce max credential size for readability 2020-11-23 14:34:38 +01:00
kaczmarczyck 14f59e3619 Merge branch 'master' into server-side-hmac-secret 2020-11-23 13:03:59 +01:00
Fabian Kaczmarczyck 9bb1aad45d wraps HMAC secret into credentials 2020-11-23 12:59:25 +01:00
Fabian Kaczmarczyck 5bf73cb8fd fail on UP=true in make 2020-11-23 12:09:48 +01:00
kaczmarczyck 9124de4ec6 Merge branch 'master' into hid-init-sync 2020-11-20 14:42:02 +01:00
kaczmarczyck 44257e57a7 Merge branch 'master' into exclude-list-decrypt 2020-11-20 12:28:29 +01:00
Fabian Kaczmarczyck 9a29795ca6 changes priority of error codes 2020-11-20 06:14:19 +01:00
Fabian Kaczmarczyck e1b419c104 changes sync response and tests it 2020-11-20 05:49:11 +01:00
Fabian Kaczmarczyck 315016f552 unwraps credentials in the exclude list 2020-11-20 03:31:16 +01:00
Mirna fce91744c6 Addressing some of the requested changes 2020-11-13 22:06:27 +02:00
Mirna 58b5e4d8fa Add short APDUs parser 2020-11-13 09:32:59 +02:00
Fabian Kaczmarczyck 51681e4910 changes operation touch behaviour 2020-11-13 06:51:53 +01:00
kaczmarczyck 748e149b71 Merge branch 'master' into empty-auth-up 2020-11-13 06:50:16 +01:00
Julien Cretin 5673b9148f Use new persistent store library (and delete old) 2020-11-11 17:31:31 +01:00
kaczmarczyck 7a746e8494 Merge branch 'master' into version-string 2020-11-10 10:51:28 +01:00
Fabian Kaczmarczyck 16157e64a4 change max PIN retries to 8 2020-11-10 09:52:58 +01:00
Fabian Kaczmarczyck 77d1b63284 adds a UP check where 2.1 is asking for it 2020-11-06 17:31:39 +01:00
Fabian Kaczmarczyck e7644f158d adds FIDO 2.1 PRE version string 2020-11-04 14:39:50 +01:00
mingxguo27 c6a93d0539 Always set default credential policy 2020-10-28 15:03:59 +00:00