Comments (4)
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.
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.
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.
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)
- Stable release HOT 2
- Packed Attestation Format HOT 1
- TPM Attestation Statement Format HOT 1
- Android Key Attestation Statement Format HOT 1
- Android SafetyNet Attestation Statement Format HOT 1
- WebAuthn Extensions HOT 1
- Webauthn Testing HOT 1
- Provide a demo HOT 1
- Potential bug found
- Add a way to get the trust path HOT 1
- Better public key credential support HOT 1
- Better attestation type support HOT 1
- Support for other algorithms HOT 1
- Move to a dedicated organization HOT 1
- beberlei/assert 3.1 clashes with otphp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from u2f-php.