Comments (5)
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.
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.
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.
thank you. thank you very much.
from python-u2flib-host.
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)
- Dependencies for Python 3 and PyPy support HOT 6
- Code duplication between this project and python-u2flib-server HOT 2
- u2flib_host.exc.APDUError: 0x6985 HOT 4
- TypeError: valid_facets() takes exactly 3 arguments (2 given) HOT 1
- hid_transport list_devices() method only returns the class name instead of an actual device object HOT 1
- Not actually compatible with python3 HOT 2
- Yubikey Nano 4 not returned by u2f.list_devices()
- setup.py includes non existing file HOT 1
- Struct pack error HOT 1
- u2f-register :command not found??!! HOT 3
- How to add rules into rules.d? I don't know the detailed steps.Can you help me? HOT 1
- what should we do for a real Yubikey??Can anyone help me? HOT 1
- Wrong U2F Command parameter when U2F_REGISTER HOT 1
- JaCarta U2F support in known devices
- Support Thetis U2F key HOT 1
- u2flib_host.exc.APDUError: 0x6A80
- Add Trezor devices
- Document what versions of Python are supported HOT 2
- Scripts still contain GPL license header HOT 1
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 python-u2flib-host.