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
Load whitelist/admins from a file #19
Comments
i'd like to tackle this in my next PR. was thinking of just starting simple and having one fingerprint per line to allow access to connecting. i think maybe having another sort of config file for mapping fingerprints to nicks or admin/op privileges would solve the other problem. thoughts? |
Also that way specifying the whitelist file would imply --whitelistOnly and wouldn't need to be another option |
I GUESS! I'd like to support reserving names and marking admins in a similar fashion, but we can add it later. Also I'd suggest supporting pubkey signatures, similar to ~/.ssh/known_hosts. Easier to fill them from github profiles and whatnot. |
k, i just got the fingerprints working... can add pubkeys in a future PR? |
pubkeys for future PR is cool. :) |
Done. It accepts authorized_keys-style files now. |
So, what is the format of the admin file again? Right now, a public key starts:
How to make that public key an admin on a file I will pass to ssh-chat using the |
@Fastidious Added a section here: https://github.com/shazow/ssh-chat/wiki/FAQ#can-i-block-users-from-connecting-how-do-i-assign-admins Basically it's one pubkey per line, as you wrote it. |
Maybe something like...
Then we can have a
--whitelist <file>
flag, and a--whitelistOnly
flag which disallows people to join if not on the whitelist./cc @jazzychad
The text was updated successfully, but these errors were encountered: