Commit Graph

1020 Commits

Author SHA1 Message Date
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
Fabian Kaczmarczyck 7268a9474b renames residential to resident 2021-01-14 18:00:05 +01:00
Fabian Kaczmarczyck 0bb6ee32fc removes unused duplicate PIN protocol check helper 2021-01-14 16:45:38 +01:00
Fabian Kaczmarczyck 1f37ae50c5 Merge develop into command-cred-mgmt 2021-01-14 16:14:10 +01:00
kaczmarczyck d5761018ab Merge pull request #246 from kaczmarczyck/authenticator-config
Authenticator config: SetMinPinLength
2021-01-14 15:23:49 +01:00
kaczmarczyck e545acda16 Merge branch 'develop' into authenticator-config 2021-01-14 15:14:07 +01:00
Jean-Michel Picod 182afc7c3f Add Feitian OpenSK USB Dongle (#257) (#259)
Co-authored-by: superskybird <skybird.le@gmail.com>

Co-authored-by: Geoffrey <geoffrey@ftsafe.com>
Co-authored-by: superskybird <skybird.le@gmail.com>
2021-01-14 12:33:03 +01:00
Geoffrey a17ee39bb6 Add Feitian OpenSK USB Dongle (#257)
Co-authored-by: superskybird <skybird.le@gmail.com>
2021-01-14 12:10:42 +01:00
Fabian Kaczmarczyck c6726660ac adds the command logic for credential management 2021-01-13 15:02:46 +01:00
kaczmarczyck 46b9a0262c Merge pull request #253 from kaczmarczyck/cose-api
COSE conversion for ECDH and ECDSA
2021-01-13 14:38:11 +01:00
Fabian Kaczmarczyck 3e42531011 full URL 2021-01-13 14:26:59 +01:00
Fabian Kaczmarczyck a26de3b720 moves constants to CoseKey 2021-01-13 14:00:34 +01:00
Fabian Kaczmarczyck cc86fc2742 removes unused import 2021-01-13 08:52:00 +01:00
Fabian Kaczmarczyck 78167282f9 comment for constants 2021-01-12 19:13:43 +01:00
Fabian Kaczmarczyck c30268a099 code cleanups and clarifications 2021-01-12 19:13:43 +01:00
Fabian Kaczmarczyck da27848c27 updates license header to 2021 in ctap 2021-01-12 19:13:43 +01:00
kaczmarczyck a82f767c18 Merge branch 'develop' into authenticator-config 2021-01-12 15:45:58 +01:00
Fabian Kaczmarczyck 2776bd9b8e new CoseKey data format 2021-01-12 15:11:20 +01:00
kaczmarczyck 688d11c6b6 Merge branch 'develop' into cose-api 2021-01-12 10:24:15 +01:00
kaczmarczyck 499816069e Merge pull request #254 from kaczmarczyck/storage-management
Storage management
2021-01-12 10:23:45 +01:00
Fabian Kaczmarczyck 27a7108328 moves filter_credentials to call side 2021-01-12 07:01:25 +01:00
Fabian Kaczmarczyck 4cee0c4c65 only keeps keys instead of credentials as state 2021-01-11 14:31:13 +01:00
Fabian Kaczmarczyck 18ebeebb3e adds storage changes for credential management 2021-01-11 11:51:01 +01:00