Skip to content
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

Issue with generate sign requests #34

Open
drewsamsen opened this issue Jun 2, 2017 · 2 comments
Open

Issue with generate sign requests #34

drewsamsen opened this issue Jun 2, 2017 · 2 comments

Comments

@drewsamsen
Copy link

Using the example code in the readme and here https://github.com/badboy/cuba-u2f-demo/blob/master/app.rb#L172-L193


This line works

@sign_requests = u2f.authentication_requests(key_handles)

and creates and Array of U2F::SignRequest objects but the next line

@sign_requests.map(&:challenge)

throws

NoMethodError: undefined method 'challenge' for #<U2F::SignRequest:0x007fe9a58c94c0>

@drewsamsen
Copy link
Author

Related? #31

@rst
Copy link
Contributor

rst commented Jun 5, 2017

Absolutely related; the 0.2.0 version of U2F::SignRequest has a 'challenge' method and accessor; the 1.0.0 method does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants