Commit Graph

974 Commits

Author SHA1 Message Date
kaczmarczyck
eb0a0770dd adds the PIN protocol trait (#292)
* adds the PIN protocol trait

* improved documentation

* SharedSecret not mutable
2021-03-10 13:20:29 +01:00
kaczmarczyck
351e6c12c6 renames PIN protocol related variables to prepare PIN protocol v2 (#291) 2021-03-04 10:37:19 +01:00
kaczmarczyck
5e9c32dff5 HKDF for CTAP2.1 (#290)
* implements hkdf, both regular and FIDO specific

* improved documentation

* constant usage in function return type
2021-03-03 16:33:25 +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
kaczmarczyck
c014d21ff8 adds README changes, logo and certificate (#285) 2021-02-11 19:53:45 +01:00
Jean-Michel Picod
958d7a29dc Fix config.py tool according to the new API of fido2 python package (#284)
* Fix fido2 API update.

Since fido2 0.8.1 the device descriptor moved to NamedTuple, breaking
our configuration tool.
Code is now updated accordingly and the setup script ensure we're
using the correct version for fido2 package.

* Make Yapf happy

* Fix missing update for fido2 0.9.1

Also split the comment into 2 lines so that the touch is not hidden
at the end of the screen.
2021-02-11 17:44:49 +01:00
kaczmarczyck
6480682d95 Merge pull request #283 from kaczmarczyck/always-uv
Add the option alwaysUv
2021-02-11 16:49:21 +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
b9072047b3 update README to new constant 2021-02-08 17:56:27 +01:00
Fabian Kaczmarczyck
160c83d242 changes always uv constant to a clearer version 2021-02-08 17:53:30 +01:00
kaczmarczyck
48ee857850 Merge pull request #281 from kaczmarczyck/enterprise-attestation
Enterprise attestation
2021-02-08 16:45:43 +01:00
Fabian Kaczmarczyck
88a3c0fc80 assert correct const usage in code 2021-02-08 16:30:14 +01:00
Fabian Kaczmarczyck
e941073a31 new test for attestation configuration 2021-02-08 13:10:18 +01:00
kaczmarczyck
70ba53ca46 Merge branch 'develop' into enterprise-attestation 2021-02-08 12:48:35 +01:00
kaczmarczyck
800f0be771 Merge pull request #280 from kaczmarczyck/resolve-permission
Allow RP ID in token permissions for some subcommands of credential management
2021-02-08 12:48:08 +01:00
Fabian Kaczmarczyck
54e9da7a5b conditional allow instead of cfg not 2021-02-08 07:49:58 +01:00
Fabian Kaczmarczyck
842c592c9f adds changes to README 2021-02-05 18:57:39 +01:00
Fabian Kaczmarczyck
f90d43a6a1 implements alwaysUv and makeCredUvNotRqd 2021-02-05 18:57:39 +01:00
Fabian Kaczmarczyck
604f084815 rename require_ to ensure 2021-02-05 14:52:38 +01:00
kaczmarczyck
f2fe411d77 Merge branch 'develop' into enterprise-attestation 2021-02-05 12:03:31 +01:00
Fabian Kaczmarczyck
502006e29e fix string conversion style 2021-02-05 11:57:47 +01:00
kaczmarczyck
a54b217116 Merge branch 'develop' into resolve-permission 2021-02-05 11:24:48 +01:00
kaczmarczyck
c293708649 Merge pull request #279 from kaczmarczyck/no-credential-rp
No credentials in enumerateRp
2021-02-05 11:24:31 +01:00
Fabian Kaczmarczyck
49cccfd270 correct const arrays of strings 2021-02-05 11:23:12 +01:00
Fabian Kaczmarczyck
53e0591363 adds some documenation for enterprise attestation 2021-02-04 21:33:01 +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
db7ed10f5f changes the handling of 0 credentials 2021-02-02 18:04:29 +01:00
kaczmarczyck
b32d92d9e2 Merge pull request #278 from kaczmarczyck/no-cfg-derive
Remove derive_debug feature
2021-02-02 09:56:29 +01:00
Fabian Kaczmarczyck
f64567febc fix crypto workflow 2021-02-02 06:52:01 +01:00
Fabian Kaczmarczyck
9270afbc21 remove derive_debug feature 2021-02-02 06:45:04 +01:00
Fabian Kaczmarczyck
371e8b6f35 remove conditional trait implementation 2021-02-02 05:46:03 +01:00
kaczmarczyck
5683b455b2 Merge pull request #274 from kaczmarczyck/extension-large-blobs
largeBlobKey extension
2021-01-31 11:44:58 +01:00
Fabian Kaczmarczyck
5741595e57 new extension entry for largeBlobKey 2021-01-27 16:47:27 +01:00
kaczmarczyck
151a37eb47 Merge pull request #273 from kaczmarczyck/commands-2-1
Updates command inputs to 2.1, unified u8 usage for map keys
2021-01-27 11:53:36 +01:00
Fabian Kaczmarczyck
2dbe1c5f07 adds enterprise for make, byte keys 2021-01-27 11:16:48 +01:00
kaczmarczyck
0f85470960 Merge pull request #263 from kaczmarczyck/large-blobs
Large blobs
2021-01-25 21:45:27 +01:00
kaczmarczyck
18f391d48f Merge branch 'develop' into large-blobs 2021-01-25 19:27:45 +01:00
Julien Cretin
3346a1167e Merge pull request #272 from ia0/factor_test
Factor test tools between store and fragment
2021-01-25 19:17:15 +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
Julien Cretin
c8cdbd61e4 Merge branch 'develop' into factor_test 2021-01-25 18:15:37 +01:00
Julien Cretin
36be5d8a74 Merge pull request #271 from ia0/count_credentials
Improve count_credentials by not deserializing them
2021-01-25 18:14:31 +01:00
Fabian Kaczmarczyck
563f35184a use new store fragments 2021-01-25 17:50:01 +01:00
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