google / u2f-ref-code

U2F reference implementations
BSD 3-Clause "New" or "Revised" License
588 stars 182 forks source link

u2f.register works only once #181

Open r0fest opened 4 years ago

r0fest commented 4 years ago

I am developing authentication based on u2f and when I use u2f.register from the u2f-api.js library, then the first time my usb key interacts, but if I try to call the second time there will be no signs of life (I don’t matter, I confirmed by pressing or not) until I reopen the browser. There is no such problem for u2f.signs, it works out how much is needed

r0fest commented 4 years ago

I found a bug if using window.prompt, then this problem occurs