Commit Graph

890 Commits

Author SHA1 Message Date
Fabian Kaczmarczyck 371e8b6f35 remove conditional trait implementation 2021-02-02 05:46:03 +01:00
kaczmarczyck 5683b455b2 Merge pull request #274 from kaczmarczyck/extension-large-blobs
largeBlobKey extension
2021-01-31 11:44:58 +01:00
Fabian Kaczmarczyck 5741595e57 new extension entry for largeBlobKey 2021-01-27 16:47:27 +01:00
kaczmarczyck 151a37eb47 Merge pull request #273 from kaczmarczyck/commands-2-1
Updates command inputs to 2.1, unified u8 usage for map keys
2021-01-27 11:53:36 +01:00
Fabian Kaczmarczyck 2dbe1c5f07 adds enterprise for make, byte keys 2021-01-27 11:16:48 +01:00
kaczmarczyck 0f85470960 Merge pull request #263 from kaczmarczyck/large-blobs
Large blobs
2021-01-25 21:45:27 +01:00
kaczmarczyck 18f391d48f Merge branch 'develop' into large-blobs 2021-01-25 19:27:45 +01:00
Julien Cretin 3346a1167e Merge pull request #272 from ia0/factor_test
Factor test tools between store and fragment
2021-01-25 19:17:15 +01:00
Fabian Kaczmarczyck 769a2ae1c5 reduce testing to not account for shard size 2021-01-25 18:43:51 +01:00
Fabian Kaczmarczyck 2af85ad9d0 style fix 2021-01-25 18:29:38 +01:00
kaczmarczyck 49de1f7ebc Merge branch 'develop' into large-blobs 2021-01-25 18:20:01 +01:00
Fabian Kaczmarczyck 4f3c773b15 formats code, clippy 2021-01-25 18:17:14 +01:00
Julien Cretin c8cdbd61e4 Merge branch 'develop' into factor_test 2021-01-25 18:15:37 +01:00
Julien Cretin 36be5d8a74 Merge pull request #271 from ia0/count_credentials
Improve count_credentials by not deserializing them
2021-01-25 18:14:31 +01:00
Fabian Kaczmarczyck 563f35184a use new store fragments 2021-01-25 17:50:01 +01:00
Julien Cretin ae0156d287 Factor test tools between store and fragment
Those need the driver to deal with the fact that the store is stateful. Those
tests can't be moved to the test suite because they use private functions.
2021-01-25 17:30:50 +01:00
Julien Cretin 0e537733f1 Improve count_credentials by not deserializing them 2021-01-25 17:04:01 +01:00
Fabian Kaczmarczyck b2c6ae8f82 Merge branch 'develop' into large-blobs 2021-01-25 16:38:53 +01:00
Julien Cretin 846ff279bb Merge pull request #270 from ia0/fragmentation
Add helper functions for fragmented entries
2021-01-25 15:13:24 +01:00
Julien Cretin 41a3f512c8 Remove useless check 2021-01-25 11:31:42 +01:00
Julien Cretin f0c51950cb Add fragmentation support 2021-01-23 21:27:59 +01:00
Fabian Kaczmarczyck 19c089e955 improvements to large blob storage 2021-01-22 18:54:45 +01:00
Fabian Kaczmarczyck 7d04c5c6d0 fixes const usage in test_get_info 2021-01-22 14:23:32 +01:00
Fabian Kaczmarczyck cf8b54b39c large blob commit is one transaction 2021-01-22 14:16:34 +01:00
Fabian Kaczmarczyck 3517b1163d bigger shards, fixed get_large_blob 2021-01-22 13:56:18 +01:00
Fabian Kaczmarczyck b2c8c5a128 adds the new command AuthenticatorLargeBlobs 2021-01-22 13:55:32 +01:00
kaczmarczyck d87d35847a Merge pull request #267 from kaczmarczyck/force-pin-change
Force PIN change
2021-01-22 11:53:21 +01:00
Fabian Kaczmarczyck c38f00624a use transactions, and how to store a bool 2021-01-22 10:55:11 +01:00
Fabian Kaczmarczyck 5fe111698b remove resolved TODO 2021-01-21 18:47:00 +01:00
Fabian Kaczmarczyck 3408c0a2ed makes test_get_info more readable 2021-01-21 18:24:25 +01:00
Fabian Kaczmarczyck de3addba74 force PIN changes 2021-01-21 18:06:31 +01:00
kaczmarczyck cdde64420b Merge pull request #265 from kaczmarczyck/cred-blob-extension
credBlob extension
2021-01-21 09:27:26 +01:00
Fabian Kaczmarczyck 14189a398a implements the credBlob extensions 2021-01-20 19:13:05 +01:00
Julien Cretin 03401778b3 Merge pull request #264 from ia0/store_update_ref
Make StoreUpdate generic over the byte slice ownership
2021-01-20 17:25:19 +01:00
Julien Cretin 8634e2ec24 Make StoreUpdate generic over the byte slice ownership
This permits to call it without having to create a Vec<u8> when possible.
2021-01-20 15:56:06 +01:00
kaczmarczyck 8bdfeb4aec Merge pull request #256 from kaczmarczyck/command-cred-mgmt
Command logic for credential management
2021-01-20 15:05:02 +01:00
Fabian Kaczmarczyck 6bf4a7edec fix typo 2021-01-20 13:22:24 +01:00
Fabian Kaczmarczyck 9296f51e19 stricter API for StatefulCommandPermission 2021-01-20 12:08:07 +01:00
Fabian Kaczmarczyck 9953b3f1a0 Merge branch 'develop' into command-cred-mgmt 2021-01-19 15:10:12 +01:00
Fabian Kaczmarczyck 134c880212 reworks command state to its own struct 2021-01-19 15:07:15 +01:00
Fabian Kaczmarczyck e3353cb232 only stores the RP ID index as state 2021-01-19 12:42:41 +01:00
Julien Cretin 286f70ef1c Merge pull request #262 from ia0/v2_error
Return error instead of debug assert
2021-01-19 10:09:35 +01:00
Julien Cretin a712d1476b Return error instead of debug assert
With dirty storage we hit the assert. Returning an error permits to continue to
catch if the invariant is broken for normal operation while being able to
continue fuzzing with dirty storage.
2021-01-18 16:41:03 +01:00
Julien Cretin 51ecf6acc1 Merge pull request #238 from ia0/v2_optim
Make store operations constant wrt flash operations
2021-01-18 16:38:11 +01:00
Julien Cretin 55038cc084 Add bound-test in addition to equality-test 2021-01-18 16:13:01 +01:00
Julien Cretin 2cd760bad7 Merge branch 'develop' into v2_optim 2021-01-18 16:10:08 +01:00
Fabian Kaczmarczyck 3702b61ce7 implements Default for Response type 2021-01-15 17:41:16 +01:00
kaczmarczyck aef9566ca4 Merge branch 'develop' into command-cred-mgmt 2021-01-14 18:18:55 +01:00
kaczmarczyck 5818c3f6af Merge pull request #260 from kaczmarczyck/resident-naming
Resident naming
2021-01-14 18:18:36 +01:00
Fabian Kaczmarczyck 69bdd8c615 renames to resident in README 2021-01-14 18:05:38 +01:00