Open savoygrizzly opened 5 years ago
Same problem here.
Also had that error, it seems to appear randomly 1 time out of 3, I couldn’t figure out the reason why. It’s pretty lame that there is no actual documentation for a complete integration and only the client side code available on the official webauthn website, seems like the “future of authentication” is not ready to be used yet... What a shame since all Major browsers are about to support it...
http://g--dk.biz/bitc/encdc.php?submit=submit&message=abggssd
So when you run that message you get a size of 76. Refresh after REFRESH it's 76. So all Webauthn needs to do is agree on a size and then it dosent matter what the message is as long as it ends up being the size. Size matters. So in the UBIkey senario all keys are made with an internal message 7 characters in size and then will always produce a size 76.
The browsers can all look for the size 76 because the UBIkey delivers a 7 character message. Of course you can do hugh messages and get hugh sizes
same problem here, new computer, just installed fresh node and git. I can run the project. but nothing happens when I click "Login" button on the website.
same problem here, new computer, just installed fresh node and git. I can run the project. but nothing happens when I click "Login" button on the website.
I actually figured out I didnt have the complete demo. After I got that then everything started working locally. But if I try to connect from my phone or laptop to my local server then I get the error "cannot read property 'create' of undefined"
This demo is not finished code as i just found out:
Branch complete-demo
works fine.
Just do git checkout completed-demo
The problem is that both javascript files webauthn.js and webauthn.auth.js is missing content.
For me with node 10, express 6.9 and chrome 74 this Demo doesn't appear to be working at all anymore, had to fix 12 ERROR [ERR_HTTP_HEADERS_SENT] before actually being able to try running it, then seems to randomly bug simply for registration when getting the response from client, either when checking the results or when comparing challenges. On top of that there’s no other reliable example that would actually show you how to use webauthn with Node...