-
Notifications
You must be signed in to change notification settings - Fork 60
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
Password logging #73
Comments
Good point, I'll add this. |
If anyone has time to do this, PR's are welcome. |
I'd be happy to do this, but i'm having trouble figuring out the 'best' way - here are my ideas so far.
Input would be appreciated. |
@slowbro thanks for taking an interest :) I would take option 1 for this and do the check user.Decode() Check if privmsg to mattermost or slack is sent, use the function on https://github.com/42wim/mm-go-irckit/blob/master/mmservice.go#L291 to parse the line, so you can also match long passwords. Maybe refactor those L93-L111 in a function that can be reused for your check. |
Understood! I will start work on this. |
Created a PR. I ended up not using Let me know if you want anything changed! |
If matterircd is started in debug mode, all login passwords get plaintext logged. IMHO is this a really bad idea.
I think such private messages can be easily filtered, and displayed like the following:
Without such a filter, you should never run the matterircd on a productive system with debug enabled.
The text was updated successfully, but these errors were encountered: