-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
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:
$ 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!
Metadata
Metadata
Assignees
Labels
No labels