Skip to content

Adminwallet should use an HSM for signing txes #55

Description

@sirpy

We currently have two options

  • equinix
  • unbound

Test equinix, check pricing

Given is what you need to bring Ether keys as EC object into Smartkey:
The key you shared , `d8109782b1395783c18a5b8b592f1edb280d7aa52087fd08af340c5266058ba5` , is just 32-byte private key material. We need to encode it into ASN1 which you can do by prefixing `302e0201010420` and suffixing `a00706052b8104000a` in the key bytes. if key material is less than 32 bytes then append extra leading `0` in key material to make it 32 bytes.
Try below commands to create importable EC key:

Save the key into a file called “ether_private_key_file”  //contains the line:   d8109782b1395783c18a5b8b592f1edb280d7aa52087fd08af340c5266058ba5

echo "302e0201010420"`cat ether_private_key_file`"a00706052b8104000a" | xxd -r -p | base64 > base_64_key.pem

Once importable EC key is created, then follow the import security object flow in SmartKey.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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