solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
183 stars 69 forks source link

Somu update not working #64

Closed jakobbraun closed 4 years ago

jakobbraun commented 4 years ago

I've tried to update my SOMU key using this tool. But the key did reject the firmeware:

$ solo key update
Not using FIDO2 interface.
Wrote temporary copy of firmware-3.1.2.json to /tmp/tmpvcjvo97b.json
sha256sums coincide: 4a24fae228b5c5560d5ed8982770a72dec3cae5dcb02f6fc768b03a60afb10cf
using signature version >2.5.3
erasing firmware...
updated firmware 100%             
time: 7.45 s
bootloader is verifying signature...
...error!

Your key did not accept the firmware's signature! Possible reasons:
  * Tried to flash "hacker" firmware on custom hacker key with verifying bootloader

Currently, your key does not work. Please run update again with correct parameters

Now my key is constantly flashing red. How can I now fix my key again? (The web updater could not fix) Probably this tool only works for Solo keys and not for Somu? A check before update would be very helpful for preventing others to run into this issue.

conorpp commented 4 years ago

The tool should work fine, but we've been seeing some issues with some devices rejecting the latest update (3.1.2). I'm planning to look more into this soon and fix the issue with the last update build, but in the meantime you can restore to 3.1.1 firmware.

wget https://github.com/solokeys/solo/releases/download/3.1.1/firmware-3.1.1.json
solo program bootloader firmware-3.1.1.json
jakobbraun commented 4 years ago

Thank you for your hint. This did work. Should we close this issue in favor to a different one tracking the rejected firmware?

nickray commented 4 years ago

Thanks for your report, please open a new issue if a specific problem persists.