I delved a bit into the FIDO2 and CBOR world and did a implmentations that may be interesting for others:
https://github.com/mikerabat/DelphiFido2
https://github.com/mikerabat/DelphiCBOR
It's the delphi headers conversion of Yubicos fido2 dll and a base simple CBOR implementation
that can be used.
Very interesting.
"The FIDO2 Project is a joint effort between the FIDO Alliance and the World Wide Web Consortium (W3C) whose goal is to create a strong authentication solution for the web. At its core, FIDO2 consists of the W3C Web Authentication (WebAuthn) standard and the FIDO Client to Authenticator Protocol (CTAP).[1] FIDO2 is based upon previous work done by the FIDO Alliance, in particular the Universal 2nd Factor (U2F) authentication standard."
https://en.wikipedia.org/wiki/FIDO2_Project"CBOR (Concise Binary Object Representation) is a binary data serialization format loosely based on JSON. Like JSON it allows the transmission of data objects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost of human-readability. It is defined in IETF RFC 7049.
Amongst other uses, it is the recommended data serialization layer for the CoAP Internet of Things protocol suite and the data format on which COSE messages are based. It is also used in the Client-to-Authenticator Protocol (CTAP) within the scope of the FIDO2 project."
https://en.wikipedia.org/wiki/CBOR