Git Product home page Git Product logo

Comments (5)

dainnilsson avatar dainnilsson commented on June 23, 2024

That's correct, the U2F specification does not define a protocol for client-to-server communication, it only specifies the message formats for use with U2F devices, and a high-level JavaScript API for interfacing with a FIDO client in a browser. How data moves between client and server are left up to the implementation.

Note that the JSON messages used for this project have not been updated for the 1.1 version of the FIDO U2F JavaScript API. This means that the JSON messages used require some adjustment to be used with the latest version of python-u2flib-server.

from python-u2flib-host.

mqhh avatar mqhh commented on June 23, 2024

Thank you very much! And may I ask where can i get a similar one which have been updated for the 1.1 version, or a project that can simulate communicating with a server.

from python-u2flib-host.

dainnilsson avatar dainnilsson commented on June 23, 2024

I'm not aware of any host libraries which implement the 1.1 specification, but the changes are quite minimal:

CHANGES: This version version 1.1 of the FIDO U2F JavaScript API specification supersedes version JavaScript API 1.0. The major difference between these two versions is the way that requests to be signed are formatted between the RP and the client: In version 1.0, a separate appId and challenge were sent for every keyHandle, whereas in version 1.1, an optimization is made that requires only a single appId and challenge for multiple keyHandles.

The specs are available here: https://fidoalliance.org/specs/fido-u2f-v1.1-id-20160915/fido-u2f-javascript-api-v1.1-id-20160915.html

As for communicating with a server, it really depends on the application. For example, in a browser setting the messages are commonly passed as part of a HTML page, including the code to interact with the JavaScript API.

from python-u2flib-host.

mqhh avatar mqhh commented on June 23, 2024

thank you. thank you very much.

from python-u2flib-host.

mqhh avatar mqhh commented on June 23, 2024

excuse me, there is another question. is u2f only used for registration and authentication? can i use it for transaction confirm?

from python-u2flib-host.

Related Issues (20)

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.