Git Product home page Git Product logo

u2f-php's Introduction

FIDO/FIDO2 U2F Support for PHP


THIS LIBRARY IS NOW DEPRECATED. PLEASE USE WEB-AUTH INSTEAD


Codacy Badge Scrutinizer Code Quality Coverage Status

Build Status

Latest Stable Version Total Downloads Latest Unstable Version License GuardRails badge

FIDO U2F Support for PHP is a PHP library that will help you to support compatible security tokens..

Installation

Install the library with Composer: composer require spomky-labs/u2f-php.

This project follows the semantic versioning strictly.

Documentation

Contributing

Requests for new features, bug fixed and all other ideas to make this project useful are welcome. The best contribution you could provide is by fixing the opened issues where help is wanted.

Please report all issues in the main repository.

Please make sure to follow these best practices.

Security Issues

If you discover a security vulnerability within the project, please don't use the bug tracker and don't publish it publicly. Instead, all security issues must be sent to security [at] spomky-labs.com.

Support

I bring solutions to your problems and answer your questions.

If you really love that project and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of ๐Ÿป or more!

Become a Patreon

Licence

This project is release under MIT licence.

u2f-php's People

Contributors

codacy-badger avatar guardrails[bot] avatar peter279k avatar spomky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

u2f-php's Issues

Webauthn Testing

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? / Specification no
Version x.y(.z)

At the moment, only FIDO U2F features are tested.
Even if the Webauthn specification is not an approved standard, some parts are implemented and can be tested.
Unit and Functional tests shall be written, at least for the minimum required components (e.g. PublicKeyCredential, entities, PublicKeyCredentialDescriptor...)

Provide a demo

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? / Specification no
Version x.y(.z)

A demo (e.g. docker-based) should be provided to allow users to have a better undertanding of this library usage.

beberlei/assert 3.1 clashes with otphp

Describe the bug
To use this module in combination with OTPHP, a composer requirement of beberlei/assert 3.1 clashes with OTPHP's requirement of beberlei/assert 2.4

To Reproduce
Steps to reproduce the behavior:

  1. Require both OTPHP and u2f-php libraries in composer.json
  2. Run composer update

Expected behavior
A successful installation of both libraries

Add a way to get the trust path

When loaded, the attestation statement trust path should be available through a call that clearly indicates the trust path.

  • Empty Trust Path
  • Certificate Trust Path
  • EcdaaTrust Path

WebAuthn Extensions

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? / Specification https://www.w3.org/TR/webauthn/#extensions
Version x.y(.z)

At the moment, objects related to the webauthn extensions are present, but as there is not concrete implementation on the relaying parties and thus are not easy to perform test in real environment.

This issue is a reminder that will be closed when the specification will be considered as an approved standard with test vectors and/or concrete implementations.

Better attestation type support

At the moment, the AttestationStatement class does not indicates of what type it is.
A convenient method should be added and return the appropriate information (basic...)

Better public key credential support

At the moment, the public key credential is just a binary string.
It could be easier for implementers to get a dedicated object that represent that key.

This object could be of type RsaKey/EcKey implementing an interface (e.g. PublicKeyCredential).

Move to a dedicated organization

This library becomes more and more complex. Other repositories will be created e.g. for Symfony bundle.

To ease the management and the development of the library/bundle and the future of the whole project, a new organization should be used.
=> many/mono repo mgmt like what is done for web-token.

Stable release

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? / Specification no
Version 1.x-dev

Any chance of this going stable any time soon? It looks interesting, but without a proper stable release, it's hard to consider it for production use.

Support for other algorithms

The library only supports EC signatures and may support RSA ones.
The algorithms supported by this library should be extensible and new algorithms should be easily added if needed.

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.