Comments (8)
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?
from ssh-chat.
Also that way specifying the whitelist file would imply --whitelistOnly and wouldn't need to be another option
from ssh-chat.
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.
from ssh-chat.
k, i just got the fingerprints working... can add pubkeys in a future PR?
from ssh-chat.
pubkeys for future PR is cool. :)
from ssh-chat.
Done. It accepts authorized_keys-style files now.
from ssh-chat.
So, what is the format of the admin file again? Right now, a public key starts:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpckxI...
How to make that public key an admin on a file I will pass to ssh-chat using the --admin
parameter?
from ssh-chat.
@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.
from ssh-chat.
Related Issues (20)
- Send messages on \n and not \r\n HOT 6
- Add system bell support to all messages, not just /msg or /reply's HOT 3
- Unable to start using `--unsafe-passphrase` HOT 1
- fuzzer crash HOT 1
- /op USER remove only works until USER reconnects HOT 1
- server: Support multiple identity private keys
- /back: Needs confirmation message
- Whitelist not applying HOT 10
- "ssh.chat" refuse connection HOT 2
- Latest DoS HOT 7
- 8 Vulnerable Dependences per OWASP Dependency Check HOT 2
- Known bug: ssh rsa negotiation issue HOT 5
- COMMANDS ARE CASE SENSITIVE HOT 5
- bot: Skip motd on connect HOT 2
- bot: Don't include emoji prefixes in DMs
- Emojis still appear in TERM=bot mode private messages HOT 1
- Release v1.11 proper HOT 1
- Couldn't connect with allowlist or get admin HOT 2
- problem with using backspace for Chinese characters(one char of 2 bytes) HOT 9
- Very stupid question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssh-chat.