You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to write a HMAC initialization vector to the OnlyKey,
the CLI returns <class 'IndexError'> without further information.
Steps to reproduce
This issue occurs when following the example from the README (see here).
The exact CLI interaction is:
$ onlykey-cli
OnlyKey CLI v1.2.10
Control-D to exit.
OnlyKey> setkey HMAC1 h
Type Control-T to toggle password visible.
Password/Key: ****************************************
<class 'IndexError'>
Input error. See available commands with examples here https://docs.crp.to/command-line.html
Possible cause
The error appears to be thrown at only_key.setkey(slot_id, data[2], data[3], key),
because data[3] is not set by above-mentioned CLI command. data[3] seems to be the value for features, which above-linked instructions for setting the HMAC key do not mention.
thanks in advance for looking into this!
The text was updated successfully, but these errors were encountered:
Problem
When trying to write a HMAC initialization vector to the OnlyKey,
the CLI returns
<class 'IndexError'>
without further information.Steps to reproduce
This issue occurs when following the example from the README (see here).
The exact CLI interaction is:
Possible cause
The error appears to be thrown at
only_key.setkey(slot_id, data[2], data[3], key)
,because
data[3]
is not set by above-mentioned CLI command.data[3]
seems to be the value forfeatures
, which above-linked instructions for setting the HMAC key do not mention.thanks in advance for looking into this!
The text was updated successfully, but these errors were encountered: