solokeys / solo2-cli

Solo 2 library and CLI in Rust
https://docs.rs/solo2
Apache License 2.0
172 stars 31 forks source link

2 keys: 1 can be updated, the other not #102

Open pjgueno opened 1 year ago

pjgueno commented 1 year ago

I have an issue I can't understand: I was given 2 solokeys and I was told I have to update them before use. I followed the instructions and it works perfectly on the first key.

For the second key, I can see 1 blue bink only and then: Screen Shot 2023-03-08 at 20 39 08

20:20200101.0 is under 2:20220822.0, isn't it ?

MacBook-3:SoloUpdates2 PJ$ solo2 update --verbose
Downloading latest release from https://github.com/solokeys/solo2/
Fetched firmware version 2:20220822.0 (2.964.0)
 INFO  solo2::transport > using CTAP as minimal transport
 INFO  solo2::transport > using CTAP as minimal transport
 INFO  solo2::device    > device fw version: 20:20200101.0
 INFO  solo2::device    > new fw version: 2:20220822.0
Firmware version on device higher than firmware version used.
This would be rejected by the device.
Error: Firmware rollback attempt

Can you explain me the issue.

When I plug the both keys:

MacBook-3:SoloUpdates2 PJ$ solo2 ls
Solo 2 1949AECA1525A256A384748B4189736D (CTAP only, firmware 2:20220822.0, locked)
Solo 2 FEB84FD1CFABCF59AD7F5C2BDBD8FEA9 (CTAP only, firmware 20:20200101.0)
MacBook-3:SoloUpdates2 PJ$ 

The first line is the key which was updated succesfully. Why is there this locked ?

JohnLGalt commented 1 year ago

Look at the first number.

20:20200101.0 2:20220822.0

20 > 2

pjgueno commented 1 year ago

But the key were given to me at the same time and the current firmware is 2... How can the 2nd key be higher than the current firmware ? The key doesn t blink or lights except once blue. Can I override ?

pjgueno commented 1 year ago

It means solo20 ! Instead of solo2...

JohnLGalt commented 1 year ago

I wonder if that is either a custom firmware, or else one of the keys you have is a 'hacker' edition.

pjgueno commented 1 year ago

It should be the hacker edition. It was from the kickstarter. Lukas from Sensor.Community who is always up to date (or state of the art?) give us 2 keys each. Unfortunately I have jsut one now...

pjgueno commented 1 year ago

I will have to wait 18 years...

JohnLGalt commented 1 year ago

Yeah, the hacker edition cannot be updated using the normal updates from my understanding.

I have one of each as well. I use the standard one all the time. The hacker edition is sitting here because I haven't learned it / figured it out yet.

pjgueno commented 1 year ago

The both keys are the same. The Update perfectly worked for the first. Maybe I will succeed to get a new key ...

pjgueno commented 1 year ago

Does anyone have the same issue?

JohnLGalt commented 1 year ago

Hacker edition is not the same as regular edition.

Look at your screenshots again - the Solo2 also shows "locked" after it. The Solo20 does not.

I suspect that while they look the same they actually are not.

pjgueno commented 1 year ago

image

pjgueno commented 1 year ago

I can't Tell more... Both keys came in such carton stuff.