-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A working implementation of ruby-u2f in Sinatra #7
Comments
konklone
changed the title
A working implementation in Sinatra
A working implementation of ruby-u2f in Sinatra
Jan 12, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just wanted to drop a note to point to my working implementation using
ruby-u2f
, which I have documented extensively:https://github.com/konklone/konklone.com/pull/144
It may be helpful to you in developing this library. I'd also love to be shown where I may be making mistakes, or not fully understanding the problem.
I did need to make some changes from the example code shown, such as using
as_json
beforeto_json
, and Base64-decoding the public key before passing it to theauthenticate!
step. I also added a lot more conditionals and error handling, and this may be a useful reference point for people going beyond Hello World.The text was updated successfully, but these errors were encountered: