Open navid-shokri opened 1 year ago
@michielbdejong @parhamin2010 please let have a meeting about this Issue.
Moving this issue because it's not specific to oc-sciencemesh We talked about that in the standup; this is our conclusion:
Sorry for not thinking this through to this level of detail earlier!
The final result should be as described below: 1- LoopBackSecret should be removed from the page. 2- SharedSecret should be filled with a randomly generated string and editable to enable the user to change the config to desired the value.
Here's the PR for NC: https://github.com/pondersource/nc-sciencemesh/pull/246
currently shared secret input is read-only but its value is constant and set to shared-secret -1 so we should make a decision about it there is a dilemma: 1- shared secret value should be an automated randomly generated string? 2- shared secret should be editable and set by the system administrator?
so according to this code, shared secret is randomly generated and it seems it generates once and is not editable.