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

v0.1.19 changes #94

Merged
merged 7 commits into from
Nov 14, 2018
Merged

v0.1.19 changes #94

merged 7 commits into from
Nov 14, 2018

Conversation

eduadiez
Copy link
Contributor

No description provided.

dapplion and others added 7 commits November 13, 2018 16:58
Modified the dyndnsClient.generateKeys() function to check if the privateKey is valid calling `EthCrypto.publicKeyByPrivateKey(privateKey)` inside a try/catch block. If the privateKey is not valid, a new one is generate, along the publicKey and domain.

dyndnsClient.generateKeys() is called at every VPN startup in client.js line 72
If the privateKey is corrupted a new one will be generated in that line.
On client.js line 83 `await dyndnsClient.updateIp();` is called on every VPN startup if the static IP is not set. In that case it will register the new dyndns domain.
@eduadiez eduadiez merged commit 1e6f84f into v0.1.19 Nov 14, 2018
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.

2 participants