Sosthène Guédon
baab96d27e
Add SharedSecret mechanism used for serialization
2022-09-13 21:35:36 +02:00
Sosthène Guédon
1e2b12a2b5
Add test for key confusion
2022-09-11 22:52:32 +02:00
Sosthène Guédon
e371bf90f4
Add tests for AES and TDES
2022-09-11 22:52:32 +02:00
Nicolas Stalder
8e347abf99
Run cargo fmt
2022-09-11 22:28:21 +02:00
Robin Krahl
3da56d8e41
virt: Add StoreProvider trait
...
With this patch, we separate the store management (i. e. resetting it
when a Service is constructed) from the actual Store implementation.
This allows us to have a static lifetime for our clients as we can take
ownership of all required resources.
2022-07-26 00:07:56 +02:00
Robin Krahl
6cf923b2a5
Require virt feature in tests
2022-07-21 16:29:06 +02:00
Robin Krahl
2a6210266b
virt: Add Client typedef
2022-07-21 16:29:06 +02:00
Robin Krahl
f203946b61
Add virtual client implementation
2022-07-21 16:29:06 +02:00
Robin Krahl
7003414f83
Add UiClient::wink method
...
This patch adds the UiClient::wink method that triggers a visible or
audible response of the device, allowing the user to identify it. This
is for example needed to implement the CTAPHID wink command.
2021-11-25 00:36:43 +01:00
Nicolas Stalder
f748c49692
Clean up object IDs
2021-05-14 19:03:59 +02:00
Nicolas Stalder
afae1294e5
Update to interchange 0.2 (uses references)
2021-04-23 15:09:47 +02:00
Nicolas Stalder
2eb45a7e57
Clippy things
2021-04-13 22:44:36 +02:00
Nicolas Stalder
7874c5b9a2
Handle compiler warnings
2021-04-13 22:44:36 +02:00
Nicolas Stalder
3f6eb1dd4b
Both Ed255/P256 certs now generate and look OK in openssl
2021-04-13 22:44:36 +02:00
Nicolas Stalder
87e0c64ad9
Make things build again
2021-03-12 15:42:22 +01:00
Nicolas Stalder
51a03c036d
No more nul byte fiddling
2021-02-27 02:04:04 +01:00
Nicolas Stalder
aea998f57a
Basic "dumb" certificate read/write/delete
2021-02-13 03:04:43 +01:00
Nicolas Stalder
4f3f03ce78
Expose uptime to clients
2021-02-13 01:02:48 +01:00
Nicolas Stalder
472659f013
Implement counters
2021-02-13 00:55:01 +01:00
Nicolas Stalder
72d59717ed
Reshuffle client traits
2021-02-12 22:02:54 +01:00
Nicolas Stalder
8613b052ad
Oh hi registered trademark
2021-02-12 01:03:45 +01:00
Nicolas Stalder
90ccf1c3c8
store! init only worked for storages with new, fix this
2021-02-07 19:32:22 +01:00
Nicolas Stalder
f808583600
Extract mechanism-specific Client methods; shorten Ed255; add documentation
2021-02-07 00:40:47 +01:00
Nicolas Stalder
a2afde6273
Basic tests for P256+X255 key agreement
2021-02-06 22:41:22 +01:00
Nicolas Stalder
46c1c7f43b
Add (untested) X25519, prepare testing
2021-02-06 16:09:55 +01:00