polhenarejos / pico-hsm

Hardware Security Module for Raspberry Pico
GNU General Public License v3.0
180 stars 23 forks source link

Response time issue #13

Closed kamilgrzela closed 1 week ago

kamilgrzela commented 1 year ago

Hi, I started testing your product and I have a strange situation, when I send a request/command I am waiting a long time.

Example:

>>> opensc-tool -an Using reader with a card: Free Software Initiative of Japan Gnuk [Pico HSM Interface] (E6614104035DC431) 00 00 3b:fe:18:00:00:81:31:fe:45:80:31:81:54:48:53:4d:31:73:80:21:40:81:07:fa

Lack of end line.

python3 pico-hsm-tool.py --pin - the same.

DMESG: 4515.751306] usb 3-4.4: new full-speed USB device number 33 using xhci_hcd [ 4515.946418] usb 3-4.4: New USB device found, idVendor=234b, idProduct=0000, bcdDevice= 3.04 [ 4515.946425] usb 3-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4515.946427] usb 3-4.4: Product: Pico HSM CCID [ 4515.946428] usb 3-4.4: Manufacturer: Pol Henarejos [ 4515.946429] usb 3-4.4: SerialNumber: E6614104035DC431 [ 4903.460914] usb 3-4.4: USB disconnect, device number 33 [ 4903.874538] usb 3-4.4: new full-speed USB device number 34 using xhci_hcd [ 4908.374478] usb 3-4.4: new full-speed USB device number 35 using xhci_hcd [ 4908.566918] usb 3-4.4: New USB device found, idVendor=234b, idProduct=0000, bcdDevice= 3.04 [ 4908.566932] usb 3-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4908.566938] usb 3-4.4: Product: Pico HSM CCID [ 4908.566942] usb 3-4.4: Manufacturer: Pol Henarejos [ 4908.566946] usb 3-4.4: SerialNumber: E6614104035DC431

I tested the software on RPi Pico and RPi Pico-W.

BR Kamil

polhenarejos commented 1 year ago

Can you try with 3.2 release? It solves a bug closely related with what you report.

https://github.com/polhenarejos/pico-hsm/releases/tag/v3.2

sieempi commented 1 year ago

Same here. Working versions are 1.12 -2.0

polhenarejos commented 1 week ago

No activity. Feel free to reopen if still persists.