Commit Graph

1110 Commits

Author SHA1 Message Date
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
Fabian Kaczmarczyck
6f9f833c0b moves COSE related conversion from crypto to data_formats 2021-01-08 15:42:35 +01:00
Fabian Kaczmarczyck
ec259d8428 adds comments to new config command file 2021-01-08 13:53:27 +01:00
Fabian Kaczmarczyck
f4eb6c938e adds the config command 2021-01-08 13:53:27 +01:00
kaczmarczyck
32d5ff91d4 Merge pull request #252 from kaczmarczyck/remove-flag-2-1
Remove CTAP 2.1 flag
2021-01-08 13:43:51 +01:00
kaczmarczyck
50611d62db Merge branch 'develop' into remove-flag-2-1 2021-01-08 13:14:16 +01:00
Fabian Kaczmarczyck
da03f77a32 small readbility fix for variable assignment with cfg 2021-01-08 13:13:52 +01:00
kaczmarczyck
caefc7553f Merge pull request #250 from kaczmarczyck/workflows-2-1
removes all occurences of CTAP 2.1 flags from workflows
2021-01-08 13:13:08 +01:00
Fabian Kaczmarczyck
c873d3b614 removes all occurences of CTAP 2.1 flags 2021-01-08 12:40:37 +01:00
Fabian Kaczmarczyck
de360a6cb6 removes all occurences of CTAP 2.1 flags from workflows 2021-01-07 18:40:37 +01:00
Julien Cretin
deeabe026f Merge pull request #247 from ia0/erase_storage
Add erase_storage application example
2021-01-07 11:12:01 +01:00