Skip to content

Enhance: import wallet-generated certificate into node configuration/keys #975

@iltoga

Description

@iltoga

Description

When installing a node, if a certificate (file with .zbc) extension is present in resource folder, then the node will:

Breakdown

  • require user to input the password to decrypt the file (encrypted using AES symmetric encription)
  • unmarshal the json file and:
    • add node owner account address to config.toml
    • generate node_keys.json using the node pass phrase in the certificate

Expected behavior

After this enhancement, during node setup, the node can use a certificate containing node owner account address and node (private) key in place of user input (for owner accound address) and random generated node key

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions