Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badboy/cuba-u2f-demo
https://github.com/badboy/cuba-u2f-demo
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/badboy/cuba-u2f-demo
- Owner: badboy
- License: mit
- Created: 2015-02-20T21:17:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T18:10:30.000Z (almost 10 years ago)
- Last Synced: 2024-12-24T02:01:12.932Z (12 days ago)
- Language: Ruby
- Homepage: http://fnordig.de/2015/03/06/u2f-demo-application/
- Size: 141 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# U2F Demo based on Cuba.rb
A [Cuba.rb][cuba] based demo application with user authentication using the [U2F protocol][u2f-overview], as implemented by [ruby-u2f][u2f.rb].
A complete blog post about this demo and U2F is available on my blog: [U2F demo][blogpost].
## Usage
Install all required gems (in case you have [dep][] installed):
dep install
or install them manually:
gem install $(awk '{print $1}' .gems | tr '\n' ' ')
Install the Chrome extension: [FIDO U2F (Universal 2nd Factor) extension][chrome-addon]
Fire up a Redis server:
redis-server &
and then start the Rack server:
rackup config.ru
Go to .
You can create new users, login, add keys and are prompted for these keys when authenticating again.
## License
Yes, even this little thing has a license. It's available under the conditions of the MIT license, see [LICENSE](LICENSE) for the full text.
[cuba]: https://github.com/soveran/cuba
[u2f.rb]: https://github.com/castle/ruby-u2f
[blogpost]: http://fnordig.de/2015/03/06/u2f-demo-application/
[u2f-overview]: http://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/fido-u2f-overview-ps-20141009.html
[dep]: https://github.com/cyx/dep
[chrome-addon]: https://chrome.google.com/webstore/detail/fido-u2f-universal-2nd-fa/pfboblefjcgdjicmnffhdgionmgcdmne