OTP not work on ESP32S3 #130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After flashed v6.4 on ESP32S3(SuperMini), plugin in MacOS(15.3), passed in webauthn.
But I fount the key not work good on OTP: setup
Yubico OTPon slot 1,Static passwordon slot2, but i none work when i touch the boot button, neither the OTP nor the Static Password was typed into the active text input box.Is there anything wrong with ESP32S3?
More information:
Wrong message with
ykman otp calculate:Paste the output of
lsusb -v -d 1050:Since the Pico Commissioner not working now, I used command
python3 pico-fido-tool.py -p $PIN phy vidpid 1050:0407to update pid vid.Here is the output on my MacOS:
that's different on Linux:
The ykman otp works now:
In the active text inputbox, still has nothing typed(expect 44 otp characters) when i touch the key(short or long press):
Can you use the development version? Some fixes regarding OTP have been pushed there.
Thanks for your reply. The night development version still not working on my ESP32S3.
I tried in this way:
I don't understand 4th step. You have to provide the secret key to the app, it will show nothing unless you introduce it.
Besides this, "Add Account" and OTP are different applets/protocols (YKOATH and Yubico OTP), they are not connected or linked at any level.
I just to find an activate input box, hope to get OTP when touched the key.
Also try to open a text editor instead of
Add accountdialog, no otp generated.You configure an OTP account and when you click on BOOTSEL once/twice it will write the password/totp/challenge whatever.
Thank you for your response, and apologies for the confusion in my previous reply.
I had actually configured OTP(HTOP) earlier, before flashed development version:
but when I press the button in the input field, I don’t see the expected 44-character string being generated.
Additionally, I’ve configured a Static Password in the long-press slot, but when I long-press the boot button in the input field, there is no password output either.
I’m not sure if there’s something wrong with my configuration or if I’m using it incorrectly. Any advice would be appreciated!
ykman otp yubiotp --help.I programed these on slot 1, using press boot once on ESP32S3, none output.
Also tried programed on slot 2, press twice, none output.
I suspect the issue might be related to HID. I tried to dive into the code and found the implementation of
otp_button_pressed, but unfortunately, I wasn’t sure how to properly debug it on the ESP32-S3, so I had to give up for now.As a workaround, I bought an RP2050-Zero yesterday, and it seems to be working fine.
Thanks!
By the way, I chose the ESP32-S3 because it supports capacitive touch. I was planning to modify the project to use a touch input instead of pressing the BOOT button.
When I tested with version 6.4, I found that if I initialized GPIO7 (other pins also worked) as a regular input, touching the pad could pull the pin low, which caused picok_board_button_read to return true. However, this behavior seems to have disappeared in the latest development branch.
Perhaps the RP2350 with TTP223(a touch pad detector IC) is a better fit after all.
@polhenarejos I used the development firmware on
waveshare_rp2350_zeroboard, by short press and twice press,OTPandStatic passwordoutput work fine.Release v6.6 working fine on ESP32S3 now. Thanks @polhenarejos !