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
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