arades79 / hyperdome

the safest place to reach out
Other
27 stars 1 forks source link

Counselor authentication #77

Closed arades79 closed 4 years ago

arades79 commented 4 years ago

Summary

This PR finally authenticates counselors signing in!

This also finishes one CLI mechanism for adding counselors.

In this version, hyperdome_server generate will generate a one-time-use code that can be given to a counselor. This code is placed in the "password" field when adding a server. The client will authenticate using ed448 keys. Currently the counselor's keys are encrypted, but with a static hard-coded password.

Server settings are now stored and reloaded with the application.

This PR fixes #38 and invalidates #13 by cementing key authentication, and never broadcasting a password.

Checklist