Skip to content

genkey: always results in "Input error (class 'TypeError')" / not working at all #78

@HoboDev

Description

@HoboDev

OnlyKey CLI v1.2.10
OnlyKey FW v3.0.4-prodc

I'm trying to generate a key following the commands (genkey [key slot] [type] [features]) but it does not work at all.

Output:

OnlyKey> genkey ECC1 x s

<class 'TypeError'>
Input error. See available commands with examples here https://docs.crp.to/command-line.html

Also this part taken from the examples seems to mismatch with the documentation above (and also does not work, it yields the same error as above)

Generate ECC key in slot ECC1 to a custom value (Slots ECC1-ECC16 are available for ECC keys. Supported ECC curves X25519(x), NIST256P1(n), SECP256K1(s))

$ onlykey-cli

OnlyKey> genkey ECC1 x

Successfully set ECC Key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions