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

[FEAT] Importing Keys at startup time #9295

Open
nathanhopp opened this issue May 19, 2023 · 0 comments
Open

[FEAT] Importing Keys at startup time #9295

nathanhopp opened this issue May 19, 2023 · 0 comments

Comments

@nathanhopp
Copy link

`Description

  • Currently, in order to import eth/ocr/p2p keys, a node operator needs to import them after the node starts running. This also causes the issue of keys being automatically generated unnecessarily that then need to be deleted.
  • Another problem, is we can't set appropriate environment variables at the time of creation ( KEY_BUNDLE_ID, TRANSMITTER_ADDRESS, P2P_ID) because they won't be added to the database yet causing the node to crash.

Motivation
It's likely common for node operators to want to use separate keys from those generated, especially since autogenerated keys can be lost. Losing these keys can lead to loss of funds, as well as work for CLL to update aggs with newly generated keys.

Justification

  • Even without importing ones own keys, the flow for creating a new node requires some work arounds. For example you'll need to start your node, grab the generated values (transmitter addr, ocr key bundle id, p2p) and then restart your node with these as environment variables. If we can import these on start up, we wouldn't need this work around.
  • Having a simple initialization step to import keys could alleviate this, for example chainlink keys [eth|ocr|p2p] import ... , which currently doesn't work when the node isn't running.
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