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

Users should be able to reset their coordinator credentials #34

Open
eliwinkelman opened this issue Aug 19, 2020 · 2 comments
Open

Users should be able to reset their coordinator credentials #34

eliwinkelman opened this issue Aug 19, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@eliwinkelman
Copy link
Contributor

Is your feature request related to a problem? Please describe.
If a coordinators credentials are lost or leaked there is currently no way to get new ones without creating a whole new network.

Describe the solution you'd like
A user interface to request new coordinator credentials for a network. This would be access restricted (only to owners?) and on the api side would generate a new client certificate/key, replace the database fingerprint, and (if possible) invalidate the old certificate (maybe make this optional?).

@eliwinkelman
Copy link
Contributor Author

I started looking into how to do this. It is easy to generate new client certificates (just do the same thing we did to generate them), but with our current setup it would be impossible to revoke them. Revocation works by maintaining a Certificate Revocation List (CRL) in the file system, but because the CA is duplicated across the two servers, there is no clean way to maintain consistency between the CRL in each server (i.e. users invalidating certificates would happen on the user server, which would have no effect on the CRL being used by the device server). I'm checking with the OSL if there is any way to share a secure file storage between the servers. This would be the simplest solution.

@eliwinkelman eliwinkelman added the enhancement New feature or request label Aug 20, 2020
@eliwinkelman eliwinkelman self-assigned this Aug 20, 2020
@eliwinkelman
Copy link
Contributor Author

The OSL does not have any shared file storage. They suggested setting up an NFS. I don't know anything about what that would look like.

@eliwinkelman eliwinkelman added the help wanted Extra attention is needed label Aug 25, 2020
@eliwinkelman eliwinkelman removed their assignment Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant