Commit Graph

113 Commits

Author SHA1 Message Date
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
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
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
mingxguo27
ba8144ebf6 Removed duplicated code 2020-10-14 12:18:45 +00:00
Guillaume Endignoux
63432000db Allow clippy::new_without_default. 2020-09-29 11:19:41 +02:00
Guillaume Endignoux
68b0bdc29b Fix more Clippy warnings. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux
323701a6e2 Formatting. 2020-09-29 11:05:24 +02: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
cae38c39c5 Merge branch 'master' into v2_error 2020-09-23 10:12:22 +02:00
Julien Cretin
7c6a1e27b4 Return errors and Vecs from CTAP storage 2020-09-22 16:23:51 +02:00
Guillaume Endignoux
ff73936a4d Fix imports in ctap, embedded_flash and lang-items. 2020-09-22 13:14:33 +02:00
Fabian Kaczmarczyck
9259102a12 makes tests more readable 2020-08-20 17:24:00 +02:00
kaczmarczyck
fe57be24b0 Merge branch 'master' into client-pin-features 2020-08-19 19:36:14 +02:00
Fabian Kaczmarczyck
77b21e9ecf improved documentation 2020-08-19 19:24:47 +02:00
Fabian Kaczmarczyck
bbcff488d5 unifying the use instructions to another standard 2020-08-17 17:36:17 +02:00
gebo
f8db69e892 Do not generate an empty PublicKeyCredentialUserEntity in response to GetAssertion 2020-08-16 08:40:28 +09:00
Fabian Kaczmarczyck
0aabf8210a improved testing in pin_protocol_v1.rs 2020-08-13 05:37:20 +02:00
Guillaume Endignoux
3c5e0c9cf1 Update src/ to the new libtock. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux
6cc4f2cfb6 Move usb_ctap_hid.rs to third_party/libtock-drivers. 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
9c673844d5 improved documentation, especially with regards to the extension 2020-07-09 19:06:42 +02:00
Fabian Kaczmarczyck
25b6756d4f improved documentation for the PinPermission enum 2020-07-08 18:09:04 +02:00
Fabian Kaczmarczyck
131f876cdd use the enum-iterator crate for better testing of enums 2020-07-08 17:59:20 +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
3b6615520f adds clarifications, improvements and tests 2020-07-06 12:39:52 +02:00