GithubHelp home page GithubHelp logo

spomky-labs / u2f-php Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 5.0 448 KB

FIDO/FIDO2 Universal 2 Factors (U2F) support for PHP

License: MIT License

PHP 100.00%
fido-u2f-support php u2f u2f-protocol u2f-server webauthn

u2f-php's Introduction

Spomky-Labs

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 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.

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.

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.

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.

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...)

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

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).

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...)

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.

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

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.