Recent

Author Topic: CBOR FIDO2  (Read 2801 times)

mikerabat

  • New Member
  • *
  • Posts: 39
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: 1106
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: 39
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.

indydev

  • Jr. Member
  • **
  • Posts: 64
Re: CBOR FIDO2
« Reply #3 on: December 13, 2022, 01:20:04 am »
I know this is from a while ago, but I checked the github and it seems this is a Windows only implementation (dll required). Was there any work done for Linux or Android?

mikerabat

  • New Member
  • *
  • Posts: 39
Re: CBOR FIDO2
« Reply #4 on: December 28, 2022, 11:21:11 am »
No I didn't implement that for linux and I don't have plans for that...
The library (https://github.com/Yubico/libfido2) I used actually supports Linux. I guess
one would have to build and use a shared module and import it similar to a dll right?

 

TinyPortal © 2005-2018