Git Product home page Git Product logo

Comments (4)

Spomky avatar Spomky commented on September 21, 2024 1

Hi,

That's a very interesting question.

First of all, I created that library to have a better understanding of the U2F protocol.
I prefer spending time to know how to communicate with these tokens than just include some other libraries in my projects (if I don't know how it works, I don't use it).

Second, I know that the library you mentioned do the job (and certainly better than I).
I just want to create another alternative and another way to communicate with those tokens using only immutable objects and thus improve the developper experience (what kind of argument is needed for the method getRegisterData?).
It is also quite strange for me to have only one class (500+ lines) to handle both registration and authentication stages.

In any case, if you think this library can be enhanced by any means, just let me know.

Note 1: I was not aware of Firehed/u2f-php. Looks great by the way.
Note 2: at the moment, this library should not be considered as stable.

from u2f-php.

stephanvierkant avatar stephanvierkant commented on September 21, 2024

Creating a new library versus understanding and improving an existing library: an interesting and difficult choice ;).

I agree the Yubico library has some quality issues. As for the 500+ file (not just one class, but that makes it even worse), see Yubico/php-u2flib-server#49. Not using PSR-4 in 2018 is quite a shame, to be honest.

I always hope we (as a PHP community) can create one high quality (in this case: U2F) library that fits all purposes, but understand that's not always possible.

from u2f-php.

Spomky avatar Spomky commented on September 21, 2024

Hi @stephanvierkant,

I will close that topic as already answered.
Before that, I would like to let you know that this library will also support the the Webauthn protocol.
I bought some FIDO2 keys and started my tests.

from u2f-php.

Spomky avatar Spomky commented on September 21, 2024

Hi @stephanvierkant.

I’ve just seen a PR from @Zae on the Yubico repository. It looks like lot of people are interested in a PSR2/4 PHP7 library for U2F.
That library works fine for the U2F protocol, but I need some feedback and help to continue my work regarding Webauthn.

Let me know if you have time test it or contribute to it.

from u2f-php.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.