kaczmarczyck
c03605aa0c
opt level and no Debug by unwrap ( #311 )
2021-04-21 11:45:01 +02:00
kaczmarczyck
78b7767682
CBOR maps use Vec instead of BTreeMap ( #303 )
...
* CBOR uses Vec for map internally
* remove BTreeMap from get_info
* rename cbor_map_btree and clean up cbor_array_vec
* destructure now takes Vec, not BTreeMap
* adds dedup in CBOR writer
* fail to write CBOR maps with duplicates
* CBOR interface refinements
* macro documentation for CBOR map and array
2021-04-13 14:46:28 +02:00
kaczmarczyck
351e6c12c6
renames PIN protocol related variables to prepare PIN protocol v2 ( #291 )
2021-03-04 10:37:19 +01:00
kaczmarczyck
f11a838cc7
Improved documentation for customization ( #287 )
...
* move constants to new file, and update documentation
* documentation improvements, deploy checks tests
* fix pylint
* improved code style
* swap build and check
2021-02-19 14:20:23 +01:00
Fabian Kaczmarczyck
6a31e06a55
move some logic into storage.rs
2021-02-08 21:54:22 +01:00
Fabian Kaczmarczyck
4678a7417d
Merge branch 'develop' into always-uv
2021-02-08 21:44:22 +01:00
Fabian Kaczmarczyck
160c83d242
changes always uv constant to a clearer version
2021-02-08 17:53:30 +01:00
kaczmarczyck
70ba53ca46
Merge branch 'develop' into enterprise-attestation
2021-02-08 12:48:35 +01:00
Fabian Kaczmarczyck
f90d43a6a1
implements alwaysUv and makeCredUvNotRqd
2021-02-05 18:57:39 +01:00
Fabian Kaczmarczyck
502006e29e
fix string conversion style
2021-02-05 11:57:47 +01:00
Fabian Kaczmarczyck
49cccfd270
correct const arrays of strings
2021-02-05 11:23:12 +01:00
Fabian Kaczmarczyck
44b7c3cdc1
dummy implementation for enterprise attestation
2021-02-04 21:26:00 +01:00
Fabian Kaczmarczyck
e3148319c5
allow RP ID permissions for some subcommands
2021-02-04 16:06:25 +01:00
Fabian Kaczmarczyck
5741595e57
new extension entry for largeBlobKey
2021-01-27 16:47:27 +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
Fabian Kaczmarczyck
563f35184a
use new store fragments
2021-01-25 17:50:01 +01:00
Julien Cretin
0e537733f1
Improve count_credentials by not deserializing them
2021-01-25 17:04:01 +01:00
Fabian Kaczmarczyck
19c089e955
improvements to large blob storage
2021-01-22 18:54:45 +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
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