Win10 - Problem with the CLI utility: "wink" / "ping" don't not work

Hello,

I suspect a bug in the CLI tool.

  • OnlyKey firmware version: v2.1.0-prodc
  • OS: Windows 10 (version 18363.720)
  • onlykey-cli.exe version: OnlyKey CLI v1.2.3

I can retrieve the firmware version from the command line. Thus, I guess that the CLI utility can access the key.

C:\Users\Denis BEURIVE\Documents\sécurité>onlykey-cli.exe fwversion

v2.1.0-prodc

C:\Users\Denis BEURIVE\Documents\sécurité>onlykey-cli.exe version

OnlyKey CLI v1.2.3

However, the command wink and the commend ping don’t work:

C:\Users\Denis BEURIVE\Documents\sécurité>onlykey-cli.exe wink

Traceback (most recent call last):
  File "C:\Users\IEUser\Desktop\python-onlykey\tests\cli.py", line 6, in <module>
  File "onlykey\cli.py", line 745, in main
  File "onlykey\cli.py", line 333, in cli
  File "click\core.py", line 829, in __call__
  File "click\core.py", line 782, in main
  File "click\core.py", line 1259, in invoke
  File "click\core.py", line 1066, in invoke
  File "click\core.py", line 610, in invoke
  File "solo\cli\key.py", line 460, in wink
  File "solo\client.py", line 53, in find
solo.exceptions.NoSoloFoundError: no device found
[8256] Failed to execute script cli

C:\Users\Denis BEURIVE\Documents\sécurité>onlykey-cli.exe ping

Traceback (most recent call last):
  File "C:\Users\IEUser\Desktop\python-onlykey\tests\cli.py", line 6, in <module>
  File "onlykey\cli.py", line 745, in main
  File "onlykey\cli.py", line 302, in cli
  File "click\core.py", line 829, in __call__
  File "click\core.py", line 782, in main
  File "click\core.py", line 1259, in invoke
  File "click\core.py", line 1066, in invoke
  File "click\core.py", line 610, in invoke
  File "solo\cli\key.py", line 472, in ping
  File "solo\client.py", line 53, in find
solo.exceptions.NoSoloFoundError: no device found
[12960] Failed to execute script cli

NOTE 1: I tested the same commands (wink and ping) under Ubuntu 20.10, and it works.

NOTE 2: Please note that the command getlabels works.

C:\Users\Denis BEURIVE\Documents\sécurité>onlykey-cli.exe getlabels

Slot 1a: Google Main
Slot 1b: proton-mail

Slot 2a: github1
Slot 2b: github2

Slot 3a:
Slot 3b:

Slot 4a:
Slot 4b:

Slot 5a:
Slot 5b:

Slot 6a:
Slot 6b:

Regards,

Denis

Hi Denis,
I had the same problems, try to launch it as Admin, it should fix all the errors you’re seeing

Hello Pepe,

Yes it works if I open a command (cmd) window as administrator.

Thanks,

Denis