Closed schlomie closed 2 years ago
@schlomie We used to use 101 - 116 for ECC keys but for simplicity this was changed to ECC1 - ECC16 so that both the OnlyKey Agent and App have the same naming: https://docs.crp.to/onlykey-agent.html#stored-keys
onlykey-agent -sk ECC102 user@host should be: onlykey-agent -sk ECC2 user@host
onlykey-agent -sk ECC102 user@host is actually read by the agent as onlykey-agent -sk ECC1 user@host because ECC102 is not a valid option. We should have an error thrown here though I will make a note to add an error when incorrect slot is selected.
Oh geez. I skipped right over that and certainly didn't grok it. Yeah, this makes so much more sense.
Thanks and apologies!
Environment
Firmware: 2.1.1 OnlyKey App: 5.3.3 onlykey-cli: 1.2.6 onlykey-agent: 1.1.12
Issue
I don't know if this issue is related to
... but I am happy to move this issue to the correct repo.
But this is the issue:
I've generated two different OpenSSH keys:
and
While in config mode, I "successfully" loaded
101.key
and102.key
into their respected ECC slots. But when I go to use the keys stored in the slots, only101.key
is usable. In fact, it appears ALL slots return the same101.key
Or, maybe I have entirely the wrong idea about storing multiple keys in select ECC slots?