Julien Cretin
0e537733f1
Improve count_credentials by not deserializing them
2021-01-25 17:04:01 +01:00
Fabian Kaczmarczyck
c38f00624a
use transactions, and how to store a bool
2021-01-22 10:55:11 +01:00
Fabian Kaczmarczyck
de3addba74
force PIN changes
2021-01-21 18:06:31 +01:00
Fabian Kaczmarczyck
14189a398a
implements the credBlob extensions
2021-01-20 19:13:05 +01:00
Fabian Kaczmarczyck
9953b3f1a0
Merge branch 'develop' into command-cred-mgmt
2021-01-19 15:10:12 +01:00
Julien Cretin
2cd760bad7
Merge branch 'develop' into v2_optim
2021-01-18 16:10:08 +01:00
kaczmarczyck
aef9566ca4
Merge branch 'develop' into command-cred-mgmt
2021-01-14 18:18:55 +01:00
Fabian Kaczmarczyck
7268a9474b
renames residential to resident
2021-01-14 18:00:05 +01:00
Fabian Kaczmarczyck
1f37ae50c5
Merge develop into command-cred-mgmt
2021-01-14 16:14:10 +01:00
Fabian Kaczmarczyck
c6726660ac
adds the command logic for credential management
2021-01-13 15:02:46 +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
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
f4eb6c938e
adds the config command
2021-01-08 13:53:27 +01:00
Fabian Kaczmarczyck
c873d3b614
removes all occurences of CTAP 2.1 flags
2021-01-08 12:40:37 +01:00
Fabian Kaczmarczyck
d6adab4381
updates status codes for RD02
2020-12-18 19:19:41 +01:00
Jean-Michel Picod
7213c4ee99
Address first round of comments.
2020-12-16 18:22:15 +01:00
Jean-Michel Picod
3c93c8ddc6
Remove compile time crypto material.
2020-12-16 18:22:15 +01:00
Julien Cretin
edcc206e9d
Make store operations constant wrt flash operations
2020-12-10 18:41:32 +01:00
Julien Cretin
371b8af224
Move choice between prod and test storage to embedded_flash module
...
This way all users of storage can share the logic to choose between flash or RAM
storage depending on the "std" feature. This is needed because the store_latency
example assumes flash storage but is built when running `cargo test
--features=std`.
2020-12-10 18:04:25 +01:00
Julien Cretin
4253854cf1
Remove ram_storage feature
...
We don't need to build a production key without persistent storage. Tests and
fuzzing continue to use the std feature to use the RAM implementation (that does
sanity checks).
2020-12-10 13:06:05 +01:00
Julien Cretin
f5ef235c69
Merge branch 'master' into v2_lib
2020-12-10 09:38:26 +01:00
Julien Cretin
776093a68b
Find the next free key in a linear way
2020-12-09 10:52:51 +01:00
Julien Cretin
8965c6c8fb
Rename and use HARDWARE_FAILURE error
2020-12-08 20:45:27 +01:00
Fabian Kaczmarczyck
fcbaf1e973
fixes comments
2020-12-08 19:31:56 +01:00
Fabian Kaczmarczyck
90def7dfd3
implicitly generate HMAC-secret
2020-12-08 18:12:48 +01:00
kaczmarczyck
c5007e384e
Merge branch 'master' into v2_lib
2020-12-04 15:26:03 +01:00
Julien Cretin
16c0196b1d
Check global counter length
2020-12-04 14:42:16 +01:00
Fabian Kaczmarczyck
b032a15654
makes the global signature counter more privacy friendly
2020-12-04 13:41:41 +01:00
Julien Cretin
b55d432043
Apply review comments
2020-12-01 15:39:51 +01:00
Julien Cretin
1db73c699b
Apply review comments
2020-12-01 11:29:52 +01:00
Julien Cretin
7997041be0
Merge branch 'master' into v2_lib
2020-11-30 10:34:54 +01:00
Julien Cretin
a0801c3023
Merge branch 'master' into v2_lib
2020-11-28 19:27:21 +01:00
Fabian Kaczmarczyck
2a4677c0b1
adds user data to persistent storage
2020-11-27 16:53:12 +01:00
Fabian Kaczmarczyck
1571f58cd3
wrapping_add in storage and more moving
2020-11-26 19:21:41 +01:00
kaczmarczyck
1d7365c4cb
Merge branch 'master' into get-next-assertion
2020-11-26 18:51:06 +01:00
Jean-Michel Picod
3d1d827984
Address PR comments
2020-11-26 16:29:14 +01:00
Fabian Kaczmarczyck
ed59ebac0d
command timeout for GetNextAssertion
2020-11-26 14:56:52 +01:00
Fabian Kaczmarczyck
af4eef8085
adds credential ordering
2020-11-26 14:41:21 +01:00
Jean-Michel Picod
f2b3ca4029
Make private key sensitive and ensure attestation is OTP
2020-11-25 17:44:52 +01:00
Jean-Michel Picod
f47e1e2a86
Ensure store behaves as expected in prod
2020-11-25 17:44:19 +01:00
Jean-Michel Picod
3dbfae972f
Always insert attestation material in the store
2020-11-25 17:17:57 +01:00
Julien Cretin
5673b9148f
Use new persistent store library (and delete old)
2020-11-11 17:31:31 +01:00
Fabian Kaczmarczyck
16157e64a4
change max PIN retries to 8
2020-11-10 09:52:58 +01:00
Guillaume Endignoux
68b0bdc29b
Fix more Clippy warnings.
2020-09-29 11:05:24 +02:00
Guillaume Endignoux
5511811703
Fix most Clippy warnings.
2020-09-29 11:05:24 +02:00
Guillaume Endignoux
85a34ad085
Migrate import statements and macros to Rust 2018.
2020-09-24 11:28:24 +02:00