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

Multiple keys.json files on official images #78

Open
mrhodlr opened this issue Jun 3, 2018 · 0 comments
Open

Multiple keys.json files on official images #78

mrhodlr opened this issue Jun 3, 2018 · 0 comments
Labels

Comments

@mrhodlr
Copy link

mrhodlr commented Jun 3, 2018

I have noticed that there are two copies of the .skywire folder on the official images, and therefor two copies of keys.json, which includes the Public Key used by the node process. The ones in /usr/local/skywire/go/.skywire/node/keys.json are used when the node process is called by the script /etc/rebuild.sh (which is called by rc.local). But if a user logs in as root and starts the node process manually (perhaps for troubleshooting, or to enable logging), it uses the Public Key stored in /root/.skywire/node/keys.json.

This is a real problem for people who have already submitted a whitelist application with their public keys. If they start any processes manually or write their own scripts or use crontab (have not tested this to see which keys would be used), they risk starting starting their Nodes with a Public Key different than the one whitelisted and their uptime will not be measured.

@gz-c gz-c added the image label Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants