Nicolas Stalder
c8d73eaab1
Clippy and formatting
2022-03-05 20:13:32 +01:00
Nicolas Stalder
fa55a3dc9f
Reorganize a little
2022-03-05 20:07:02 +01:00
Nicolas Stalder
b6bfca001c
Apply a round of cargo clippy + fmt
2022-02-26 23:44:36 +01:00
Nicolas Stalder
98534ed116
A few improvements
2021-11-28 21:14:50 -06:00
Nicolas Stalder
cf4c50f026
No explicit main branch ref
2021-11-25 00:11:14 +01:00
Robin Krahl
3a5197b3ea
Add pin_protocol field to HmacSecretInput
...
The December 08, 2020 version of the Client to Authenticator Protocol
(CTAP) specification added the pinUvAuthProtocol(0x04) field to the
input data for the hmac-secret extension in the
authenticatorGetAssertion command. This patch adds this new field to
the HmacSecretInput struct to make it possible to parse requests using
this new field.
https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html
Fixes #1 .
2021-11-24 23:48:14 +01:00
Robin Krahl
2262ee72f1
Add tests for parsing get_assertion::Parameters
...
The deserialization of authenticatorGetAssertion requests using the
hmac-secret extension as sent by e. g. python-fido2 currently fails.
This patch adds some tests with the offending input.
2021-11-24 23:48:14 +01:00
Nicolas Stalder
fa46d6be22
Bump heapless
2021-06-10 23:42:27 +02:00
Nicolas Stalder
3c44faeba5
Factor out iso7816/apdu-dispatch
2021-04-25 17:58:20 +02:00
Nicolas Stalder
04b1d6047d
The great renaming
...
- name things by what they are
- try and make then names human readable
2021-04-25 16:31:25 +02:00
Conor Patrick
6ac7b22cf8
fix credMgmt, passing all tests
2021-04-25 16:31:25 +02:00
Conor Patrick
b08d2fd6ee
reference-ize
2021-04-25 16:31:25 +02:00
Conor Patrick
e8d5b3704f
need to increase
2021-04-25 16:31:25 +02:00
Conor Patrick
1f8057ca57
update everything else for new reply handling
2021-04-25 16:31:25 +02:00
Nicolas Stalder
a60a561d29
Add RTT logging flusher, semihosting no longer default
2021-04-14 00:12:10 +02:00
Nicolas Stalder
ad0212df20
Explicitly bump cbor-smol/delog patch versions
2021-04-13 22:20:53 +02:00
Conor Patrick
e82b1385ad
Skip icon field if it's too long
2021-04-13 22:20:53 +02:00
Conor Patrick
8dc82659ca
pass log-all to cbor-smol
2021-04-13 22:20:53 +02:00
Conor Patrick
5319014a82
increase size for microsoft tests
2021-04-13 22:20:53 +02:00
Conor Patrick
057139f220
these are no longer used
2021-04-13 22:20:53 +02:00
Conor Patrick
367df13347
fix types for hmac-secret
2021-04-13 22:20:53 +02:00
Nicolas Stalder
4f4e639af4
Adjust to Trussed changes
2021-03-13 17:29:14 +01:00
Nicolas Stalder
b76021e97a
Version bumparoo
2021-02-27 02:05:39 +01:00
Nicolas Stalder
abf7829d22
Further cleanup; give up on heapless PR, external interchange/trussed
2021-02-26 18:06:44 +01:00
Nicolas Stalder
2e0096df1c
CBOR must be ordered
...
cf. https://github.com/solokeys/solo/issues/499
2021-01-14 00:48:50 +01:00