https://github.com/mdp/u2fdemo
U2F Demo and Debugger
https://github.com/mdp/u2fdemo
security u2f yubikey
Last synced: about 1 year ago
JSON representation
U2F Demo and Debugger
- Host: GitHub
- URL: https://github.com/mdp/u2fdemo
- Owner: mdp
- Created: 2017-08-22T21:10:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T14:57:56.000Z (over 7 years ago)
- Last Synced: 2025-04-10T23:52:48.823Z (about 1 year ago)
- Topics: security, u2f, yubikey
- Language: JavaScript
- Homepage: https://mdp.github.io/u2fdemo
- Size: 477 KB
- Stars: 26
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Goals
The goal of this project is to reveal what's happening on the browser side with your U2F token. Instead of a how-to guide based on a library, you get to see details about the registration and signing process along with what information gets encoded into the response. Hopefully this will be useful for anyone out there toying with the idea of supporting U2F on their site.
If you want to learn more about how U2F works, I've written a developers guide which can be found [here](https://medium.com/@mdp/quick-and-dirty-developer-guide-to-u2f-c5767054b45b)
To get started, grab your U2F key and ['Register'](#reg)
#### Prerequisites
- A U2F Key
- [Yubikey](https://www.amazon.com/gp/product/B00NLKA0D8)
- [U2FZero](https://www.amazon.com/gp/product/B01L9DUPK6)
- [Thetis](https://www.amazon.com/gp/product/B06XHTKFH3)
- [Feitan](https://www.amazon.com/gp/product/B01M1R5LRD)
- [Nitrokey FIDO U2F](https://shop.nitrokey.com/shop/product/nitrokey-fido-u2f-20)
- [Trezor](https://shop.trezor.io/)
- You're viewing this on Chrome or Firefox
#### Resources
- [U2F Raw message formats](https://fidoalliance.org/specs/fido-u2f-v1.0-nfc-bt-amendment-20150514/fido-u2f-raw-message-formats.html)
- [U2F CLI](https://github.com/mdp/u2fcli)
- [Yubico U2F Demo](https://demo.yubico.com/u2f)
- [U2F API Polyfill](https://github.com/mastahyeti/u2f-api)
#### Notes
- Uses the U2F-api-polyfill from Google. This library, released by Google, is the easiest way to interact with the built-in U2F chrome extension. The U2F example code provided assumes that you've loaded this polyfill.