-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A little more friendlier documentation for casual people would be nice. #5
Comments
I just compiled it (to fix a very personal gripe about fido2/u2f) so my tips for building it are:
Note: replace esp32s3 with esp32s2 if that's your target This will create a build directory under fido2-u2f. Then compile with:
This will leave you with: bootloader in fido2-u2f\build\bootloader\bootloader.bin To flash, go to the build directory and use:
or for a esp32s2:
You can also specify the port with --port so in my windows example (my chip showed up as com5) I would use
Linux folks would specify the serial port device name instead of com5 As for what services it works with, The big one is google and I also use it with bitwarden. But anybody who takes u2f passkeys should work. A big caveat to mention is that esp hardware isn't like govt crypto safe, there are known exploits to bypass even the fuses, but I keep them in a safe as a backup passkey and for $3 vs $55, it lets me have more than one backup. |
Oh I forgot to mention, I used a generic esp32s3 mini development board with two buttons BOOT & RESET, My experience is that you have to be fast to press the button on passkey registration, otherwise it goes into a loop. This doesn't occur when you're authenticating so its just an annoyance. And of course if you press the RESET button by accident the chip will reboot, so I recommend against doing that. |
A little more help needed. I was able to flash but not able to use the key. How do I register the key? I tried on github I wasn't able to register. A video demonstration of full process would really be helpful. |
Long story short, unless you want to do some coding, you will want to enable the button in esp32_u2f-main\main\Kconfig.projbuild (then build and upload)
Note: In the BUTTON_ENABLE, change the "default" to "y" If you have a button on any other pin than 0 (normally marked on dev boards as BOOT) then you'll want to change the default pin in BUTTON_GPIO as well. If you want the long story, I discovered when working on a Solo Hacker (another similar open source project) that if you press the human presence button too quickly or too slowly some sites will give you weird loops and other odd behavior. This is especially true if you hardcode the button to always say I'm pushed. On the solo project, I had to implement a short delay before virtually pushing the button (for an automation project), I'd imagine something similar is needed for this project. If this doesn't work out I can see if I can do a screen recording of the process. |
Also it'd be really helpful if there was a video demonstration on how to setup. And what services can it be used with for example fb, fb on Android, windows Hello GitHub etc.
The text was updated successfully, but these errors were encountered: