Skip to content

Issue with generate sign requests #34

@drewsamsen

Description

@drewsamsen

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions