-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add external sasl with with key/cert (tested on freenode) #1062
base: develop
Are you sure you want to change the base?
Conversation
5ce20d2
to
a43d7bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One concern, but otherwise this is remarkably clean and good. I wish we had gotten to it sooner!
Oh and this needs a changelog file, as described in CONTRIBUTING.md
a43d7bf
to
3407926
Compare
i added the check and rebased to develop. not tested but only the 3 line check for the password and the node-irc commit hash have changed |
3407926
to
8a63162
Compare
rebased again, tested on freenode and can confirm it works great |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks fine, but CI needs fixing (check the tests and linting). You'll also need to sign off as per https://github.com/matrix-org/matrix-appservice-irc/blob/develop/CONTRIBUTING.md#making-pull-requests
NOTE: this requires matrix-org/node-irc#48 to be merged to build correctly (it references that commit in the package-lock)
this allows authenticating through sasl external on services like freenode by specifying cert and key and setting saslMode to EXTERNAL. tested on freenode from my ec2 instance
see the node-irc pull for more info
this also gets around the issue of having a hardcoded bot name since the external auth on freenode doesn't care if your nickname matches