Commit Graph

83 Commits

Author SHA1 Message Date
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
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
Fabian Kaczmarczyck 033f544c47 adding tests to pin_protocol_v1 2020-07-02 19:31:56 +02:00
Fabian Kaczmarczyck 9ff988d3a7 refactors the client PIN implementation into a new module 2020-07-02 19:30:15 +02:00
Fabian Kaczmarczyck 63aef3bd76 new client pin subcommands 2020-07-02 19:14:25 +02:00
Fabian Kaczmarczyck a4becf9aca new error codes and enum cleanups 2020-07-02 19:14:24 +02:00
kaczmarczyck f5e0696ea1 Merge branch 'master' into authenticator-selection 2020-06-22 12:44:36 +02:00
Guillaume Endignoux 09c9fb3a3e Apply suggestion to remove additional semi-colons. 2020-06-22 11:49:47 +02:00
Guillaume Endignoux db70c3e66d s/read_cbor_map/destructure_cbor_map/g 2020-06-22 11:49:47 +02:00
Guillaume Endignoux 493efa9b25 Apply syntax suggestion to read_cbor_map! macro. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux b0321f6b4f Migrate PublicKeyCredentialSource to read_cbor_map.
I didn't realize that the values were actually constants, as
discriminants of an enum.
2020-06-22 11:49:46 +02:00
Guillaume Endignoux 2124511913 Simplify syntax of the read_cbor_map! macro, to align it with cbor_map. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux 97fb222455 Add a read_cbor_map macro to avoid the overhead of removing values on-by-one in BTreeMap. 2020-06-22 11:49:46 +02:00
Julien Cretin 46df22fa7c Remove unnecessary lifetime name 2020-06-19 17:40:24 +02:00
Fabian Kaczmarczyck e12cf542e9 adds a unit test for unknown commands 2020-06-15 23:03:26 +02:00
Fabian Kaczmarczyck c3f57f0121 implements the AuthenticatorSelection command 2020-06-09 12:07:00 +02:00
Julien Cretin a0fe66d7ed Merge branch 'master' into aaguid 2020-06-09 11:56:05 +02:00
Julien Cretin 935ccf3668 Revert "Propagate the NBYTES constant from Int256 to SecKey"
This reverts commit 0073c153d2.
2020-06-09 11:55:36 +02:00
Fabian Kaczmarczyck 824963b382 fixes nits for refactoring 2020-06-08 18:41:48 +02:00
Fabian Kaczmarczyck 909773da36 changes extensions to proper parsed data structures 2020-06-08 16:36:57 +02:00
Fabian Kaczmarczyck 679c1cb291 reads CBOR maps by moving instead of references 2020-06-05 15:42:06 +02:00
Fabian Kaczmarczyck b4003e36bf adding cbor::Value::from for i64-like enums 2020-06-05 09:48:03 +02:00
Fabian Kaczmarczyck 6a44d3349c fixing merge problems 2020-06-04 14:32:09 +02:00
Julien Cretin 0073c153d2 Propagate the NBYTES constant from Int256 to SecKey 2020-06-04 14:32:04 +02:00
kaczmarczyck 0aa6e57d93 Merge branch 'master' into cred-protect 2020-06-04 14:10:12 +02:00
Julien Cretin acd9d93107 Merge branch 'master' into aaguid 2020-06-03 11:26:59 +02:00
Julien Cretin d74a5e8894 Add setter functions and fix tests 2020-06-02 11:35:17 +02:00
Julien Cretin 5f8cb116a5 Only write attestation if compiled with batch attestation 2020-06-02 11:00:26 +02:00
Julien Cretin 98a558a502 Access the persistent keys through the store
This permits to set them using a vendor command and thus not embed their value
in the application.
2020-05-30 20:15:59 +02:00
Julien Cretin 752bf47ed5 Merge branch 'master' into no_wfr 2020-05-28 19:33:33 +02:00