dennisreimann/masq

Yubico API appears to have changed, breaks association

sethvoltz opened this issue · 0 comments

Trying to use my key with an API key setup today, I ran the following in the Rails console:

> yubico = Yubico.new(my_id, my_pass)
=> #<Yubico:0x007f81b26db3d0 @_id=#####, @_key="#####">
> yubico.verify yubikey
=> "["OK"]"
> Yubico::E_OK == _
=> false
> Yubico::E_OK 
=> "OK"

The reply appears to be (maybe) returning a JSON array with one element and the Yubico lib is expecting a bare string.