Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

error: invalid key type: priv_validator[tmkms v0.6.3] #349

@wlsaud619

Description

@wlsaud619

Summary

Problems occur when importing keys while checking the "--help" option.
The actual importable key types are wrap, json, or base64, but the description says wrap or private_validator.
Please update the description later because it can be confusing.

Version

tmkms v0.6.3

Steps to Reproduce

  1. tmkms yubihsm keys import -i 1 priv_validator priv_validator_key.json
    -> error: invalid key type: prive_validator

  2. tmkms yubihsm keys import -i 1 priv_validator priv_validator_key.json --help
    -> description: -t, --key-type KEY-TYPE type of key to import (wrap or priv_validator)

  3. Check "tmkms-0.6.3/src/commands/yubihsm/keys/import.rs"
    -> description: Type of key to import (either wrap, json, or base64, default wrap)

image

image

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