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