Recent

Author Topic: CBOR FIDO2  (Read 979 times)

mikerabat

  • New Member
  • *
  • Posts: 28
CBOR FIDO2
« on: January 11, 2020, 11:31:10 pm »
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.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1008
Re: CBOR FIDO2
« Reply #1 on: January 12, 2020, 04:10:45 am »
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

mikerabat

  • New Member
  • *
  • Posts: 28
Re: CBOR FIDO2
« Reply #2 on: September 24, 2020, 10:53:27 pm »
Hey guys.
I updated the projects and added a webauthn.pas and an apache module (for delphi).

I don't know if there is something really similary for FPC (aka webbroker) but there are quite
a few files that can be used.

 

TinyPortal © 2005-2018