Pol Henarejos
56d5c61044
Add compatibility of old resident key system with the new one.
...
Related to #184 .
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2025-09-06 19:14:27 +02:00
Pol Henarejos
1ac628d241
Major refactor on resident keys.
...
Now, credential ids have shorter and fixed length (40) to avoid issues with some servers, which have maximum credential id length constraints.
Fixes #184
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2025-09-04 21:57:53 +02:00
Pol Henarejos
73a7856866
Add support for persistentPinUvAuthToken.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2025-08-28 00:17:57 +02:00
Pol Henarejos
b91ece8ec3
Add EDDSA support as a conditional build.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2025-02-21 19:00:44 +01:00
Pol Henarejos
902a988350
Fix memory cleanups.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2024-08-24 02:34:15 +02:00
Pol Henarejos
6c74db9763
Fix warnings.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2024-08-23 13:17:51 +02:00
Pol Henarejos
f49833291f
Major refactor of USB CCID and USB HID interfaces.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2024-08-23 10:04:00 +02:00
Pol Henarejos
163e936231
Fix potential bug in CBOR encoding.
...
It happen if a keepalive packet is sent in the middle of an encoding.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2024-08-18 23:59:52 +02:00
Pol Henarejos
1f0e1fb8f4
Use latest Pico Keys SDK.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2024-05-05 00:58:51 +02:00
Pol Henarejos
d78d9d10aa
Use new names and defines.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-11-06 15:22:28 +01:00
Pol Henarejos
332debea6d
Code style.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-09-17 19:11:39 +02:00
Pol Henarejos
b7ceec8d49
Using COSE keys write functions.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-08-17 01:19:45 +02:00
Pol Henarejos
d011314500
Add thirdPartyPayment extension to credential manager response.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-08-14 21:44:15 +02:00
Pol Henarejos
8b2be54ede
Update code style.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-03-04 14:05:30 +01:00
Pol Henarejos
376b49db95
Fix encoding map on credmgmt listing credentials for specific RP.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-03-02 22:07:45 +01:00
Pol Henarejos
4f33d999e3
Adjusting code to work with the emulated interface.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2023-01-09 18:07:41 +01:00
Pol Henarejos
b1fdb9b1d1
Cleaning unused includes.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-12-30 19:39:01 +01:00
Pol Henarejos
839562130a
Zeroize large blob key.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-12-12 00:37:56 +01:00
Pol Henarejos
2431812a18
Return largeBlobKey on cred management.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-12-12 00:16:17 +01:00
Pol Henarejos
3bea6adf7a
Fix requesting CM permission in credMgmt preview.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-11-28 18:50:23 +01:00
Pol Henarejos
54c2df3570
Fix cred RP enumeration return value.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-11-28 18:41:51 +01:00
Pol Henarejos
ae42e28384
Added support for credMgmt preview, despite this info is not broadcasted.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-11-28 18:27:52 +01:00
Pol Henarejos
04868f2d7b
Added permissions support.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-11-23 13:00:28 +01:00
Pol Henarejos
e21d985344
Adding support for specific vendor HID command (0x41).
...
It is a self implementation, based on CBOR command.
data[0] conveys the command and the contents mapped in CBOR encoding.
The map uses the authConfig template, where the fist item in the map is the subcommand (enable/disable at this moment), the second is a map of the parameters, the third and fourth are the pinUvParam and pinUvProtocol.
With this format only a single vendor HID command is necessary (0x41), which will be used for all my own commands, by using the command id in data[0] like with CBOR.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-10-29 19:41:00 +02:00
Pol Henarejos
cf4778b9ad
Fixes in enumerations.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-10-04 16:57:34 +02:00
Pol Henarejos
4e94cbe40e
Finalizing credmgmt.
...
Needs test.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-09-28 22:57:27 +02:00
Pol Henarejos
0c51160d23
Adding more subpara.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-09-28 20:46:57 +02:00
Pol Henarejos
1e7d711c03
Adding cred_mgmt. Not finished.
...
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es >
2022-09-28 17:48:47 +02:00