polhenarejos / polhenarejos.github.io

0 stars 0 forks source link

technical details: hardware matrix #1

Open coelner opened 2 months ago

coelner commented 2 months ago

It takes me some time to realize, that only the hsm is available for the esp32s3.

  1. I guess you need two cpu cores? Or any reason not to support the ESP32C3?
  2. Is there any reason not to support the openpgp or fido2 on the ESP32S3?
  3. Maybe a matrix would be useful to the the supported platforms, especially when the RP2350 gets supported
  4. Is there any difference for the HSM? like key calculation speed, storage capacity?
  5. To the firmware for the ESP32 needs VID:PID patching? How to do this or is this not possible?
polhenarejos commented 2 months ago

1) It’s due to the USB stack. Espressif provides USB device mode only in S2/S3. USB in C3 is only for JTAG. 2) I’m working to port FIDO but HID stack in S3 seems a bit buggy and reaponds erratically. 3) I’ll think on it. 4) RP2040 is faster, specially with RSA tasks. With ECC is pretty similar. 5) VIDPID can be changed on-the-fly using pico-hsm-tool.

coelner commented 2 months ago
  1. Good to know.
  2. Nice to know
  3. --
  4. Funny, because the CPU is much faster.
  5. Maybe it would be useful to link on this page https://www.picokeys.com/pico-patcher/ to the corresponding git repo and a short manual. Is it allowed to include the possible vid:pid combinations? The online patcher does not work for the esp32 binary

On this page: https://www.picokeys.com/2024/07/08/announcing-esp32-s3-support-for-pico-hsm/

Maybe it would straight forward to have here: https://www.picokeys.com/esp32-flasher/