Commit Graph

72 Commits

Author SHA1 Message Date
Fabian Kaczmarczyck
d6adab4381 updates status codes for RD02 2020-12-18 19:19:41 +01:00
Jean-Michel Picod
8595ed5e28 Addressing review comments. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod
7213c4ee99 Address first round of comments. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod
efb6378311 Add vendor command to load certificate and priv key 2020-12-16 18:22:15 +01:00
Julien Cretin
f5ef235c69 Merge branch 'master' into v2_lib 2020-12-10 09:38:26 +01:00
Fabian Kaczmarczyck
d942f0173f reverts block_len to a fixed number 2020-12-09 20:11:35 +01:00
Fabian Kaczmarczyck
863bf521de removes extra sha256 2020-12-09 19:05:03 +01:00
Fabian Kaczmarczyck
90def7dfd3 implicitly generate HMAC-secret 2020-12-08 18:12:48 +01:00
kaczmarczyck
c5007e384e Merge branch 'master' into v2_lib 2020-12-04 15:26:03 +01:00
Fabian Kaczmarczyck
0b55ff3c3a fixes formatting 2020-12-04 14:57:11 +01:00
Fabian Kaczmarczyck
b032a15654 makes the global signature counter more privacy friendly 2020-12-04 13:41:41 +01:00
Jean-Michel Picod
57b2bd6871 Merge branch 'master' into apdu-parser 2020-12-01 18:52:44 +01:00
Julien Cretin
7997041be0 Merge branch 'master' into v2_lib 2020-11-30 10:34:54 +01: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
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
026b4a66ac Fix CTAP2 batch attestation 2020-11-25 17:26:08 +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
a099ddbabd introduce max credential size for readability 2020-11-23 14:34:38 +01:00
Fabian Kaczmarczyck
9bb1aad45d wraps HMAC secret into credentials 2020-11-23 12:59:25 +01:00
Fabian Kaczmarczyck
315016f552 unwraps credentials in the exclude list 2020-11-20 03:31:16 +01: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
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
mingxguo27
ba8144ebf6 Removed duplicated code 2020-10-14 12:18:45 +00:00
Guillaume Endignoux
5511811703 Fix most Clippy warnings. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux
85a34ad085 Migrate import statements and macros to Rust 2018. 2020-09-24 11:28:24 +02:00
Julien Cretin
6a6891949b Expose MasterKeys fields again 2020-09-23 13:27:20 +02:00
Julien Cretin
426722bb6b Return arrays for fixed-size objects 2020-09-23 11:10:04 +02:00
Julien Cretin
7c6a1e27b4 Return errors and Vecs from CTAP storage 2020-09-22 16:23:51 +02:00
kaczmarczyck
fe57be24b0 Merge branch 'master' into client-pin-features 2020-08-19 19:36:14 +02:00
gebo
f8db69e892 Do not generate an empty PublicKeyCredentialUserEntity in response to GetAssertion 2020-08-16 08:40:28 +09:00
Guillaume Endignoux
3c5e0c9cf1 Update src/ to the new libtock. 2020-08-07 15:09:07 +02:00
Fabian Kaczmarczyck
d5fefa2f12 improved code consistency and documentation 2020-08-06 08:44:19 +02:00
Fabian Kaczmarczyck
a398c404dc improves documentation to address comments 2020-07-27 22:18:51 +02:00
Fabian Kaczmarczyck
04278d91d8 adds code style improvements, including a new enum for permissions 2020-07-08 16:17:15 +02:00
Fabian Kaczmarczyck
216a6a0f6e adds permissions and adapts clientPin 2.1 subcommands 2020-07-02 19:43:18 +02:00
Fabian Kaczmarczyck
26595db810 adds new client Pin subcommand minPinLength implementation 2020-07-02 19:43:14 +02:00