Closed robwise1 closed 5 years ago
Hi,
You can try django-mfa2 (https://github.com/mkalioby/django-mfa2) which integrates FIDO2 Keys in Django
Hello! I've actually been using your django-mfa2 as a primary example and it has been pretty helpful and I appreciate the work. However the current build of django-mfa2 doesn't work with django1.11. I will raise an issue there if you would like- I may be able to open a PR with fixes as well.
That said, after taking an even closer look at how you are handling encoding of the CBOR data from the django server to the front end- I was able to solve my problem.
I greatly appreciate your help- closing this out.
we can work on it or you can open a PR (which will be much appreciated) as well
I apologize as this is likely an issue in my code, and not the repo- but I have tried this for days to no avail, and the lack of documentation is exacerbating my confusion.
I am running a local https server and testing FIDO2 keys. I generate a key like this:
And in the front end:
Once it's posted to server, I get the data from the request and try to verify
This consistently returns
I am completely lost. I have tried the few examples I have found online. However I truly have no idea how to proceed. My guess is my encoding of the challenge in the original registration challenge generation is incorrect, but I'm not sure what to do. I have tried encoding this in a variety of ways, completely unsuccessfully.
I would appreciate any hints here. If this is too far out of the scope for these issues, I apologize and will close it out.