Files
OpenSK/src/ctap
hcyang 4736cc63c4 Add CBOR credential ID type (#512)
* Add CBOR credential ID type

Update the format of the credential ID we generated to extend the
encrypted portion from only private_key + rp_id_hash to a flexible CBOR
map. This way we can persist more data into the key handle in the future
without need of a new version.

We add credProtectPolicy to the persisted data in this commit too, so we
can correctly check the credProtectPolicy for non-discoverable
credentials in follow-up commits.

* Fixed some style problems.

* Fix cargo clippy warning

* Check credProtectPolicy for non-discoverable credentials.

* Remove support of old v1, v2 key handles

- And changed some style problems

* Style changes

* Add missing `alloc` use
2022-07-14 14:17:12 +08:00
..
2022-05-05 15:50:28 +02:00
2022-04-28 11:36:43 +02:00
2022-07-14 14:17:12 +08:00
2021-09-17 14:22:21 +02:00
2022-07-14 14:17:12 +08:00
2022-04-28 11:36:43 +02:00
2022-05-05 15:50:28 +02:00
2022-06-30 11:35:42 +02:00