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

Adds ed25519 pubkey to oxend pings #449

Merged
merged 1 commit into from May 10, 2022
Merged

Conversation

darcys22
Copy link
Contributor

This will allow the oxend to verify the pubkey when pings are received
and reject the ping if they are wrong.

The reason this causes issues is that storage server only receives the
snode keys on startup and if oxend is restarted without restarting
storage server then it could end up running with the wrong keys.

If oxend instead rejects the pings and stops sending uptime proofs then
the operator will know that something needs attention and can restart
the storage server.

This will allow the oxend to verify the pubkey when pings are received
and reject the ping if they are wrong.

The reason this causes issues is that storage server only receives the
snode keys on startup and if oxend is restarted without restarting
storage server then it could end up running with the wrong keys.

If oxend instead rejects the pings and stops sending uptime proofs then
the operator will know that something needs attention and can restart
the storage server.
@jagerman
Copy link
Member

Force pushed after ./contrib/format.sh

@jagerman jagerman merged commit 5dc63b7 into oxen-io:dev May 10, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants