Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adminwallet should use an HSM for signing txes #55

Open
sirpy opened this issue Aug 14, 2019 · 0 comments
Open

Adminwallet should use an HSM for signing txes #55

sirpy opened this issue Aug 14, 2019 · 0 comments
Assignees

Comments

@sirpy
Copy link
Contributor

sirpy commented Aug 14, 2019

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.
@sirpy sirpy self-assigned this Aug 14, 2019
@sirpy sirpy transferred this issue from GoodDollar/GoodDAPP Aug 14, 2019
@sirpy sirpy modified the milestone: Beta Aug 14, 2019
@sirpy sirpy removed their assignment Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant