Support IRCv3.1 SASL Authentication extension as used on various networks (Mozilla, Freenode)

NEW
Assigned to

Status

--
enhancement
7 years ago
2 years ago

People

(Reporter: auscompgeek, Assigned: rginda)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
All networks running on charybdis or forks of charybdis, such as ircd-seven (the IRCd that freenode uses), support SASL authentication. This is invoked by using the CAP commands.

Such support has been previously discussed on IRC, and Gryllida has created a plugin for this. However, the plugin is rather hacky.

This bug has several components:
1. Support for the /CAP command (this should be implemented in bug 687798)
2. Actual support for SASL
3. Ways of invoking SASL (URL -> dialog boxes; prefs)
4. If we use prefs, we may also expose this in the Preferences GUI

Comment 1

6 years ago
+1

I'm on freenode and my hostname keeps being shown, the cloak rarely (have it ever?) active in time for Chatzilla auto-rejoining. If SASL can't be implemented, can there be some option to delay the rejoin?

Rejoin is a pretty sweet feature, I tried a popular client for a few days, as I kept forgetting to open Chatzilla when FF loaded, and came back because the former wouldn't rejoin on reconnect.
(Reporter)

Comment 2

4 years ago
A specification of the SASL protocol can be found at <http://ircv3.atheme.org/extensions/sasl-3.1>. An implementation in the form of a ChatZilla plugin written by Svetlana can be found at <http://freenode.net/sasl/cz_sasl.js>.
Created attachment 8738870 [details]
http://gry.blinkenshell.org/fs/irc/cz/cz_sasl-0.6.3.js

After discussion with Svetlana offline (see comment 2), the cz_sasl.js script has been licensed under MPL2 and thus may be used as a starting point for SASL integration into Chatzilla if so desired.

Attached is cz_sasl-0.6.3.js with the observed MPL2 license (and various changelogs) for posterity.

$ curl -D - http://gry.blinkenshell.org/fs/irc/cz/cz_sasl-0.6.3.js
HTTP/1.1 200 OK
Date: Thu, 07 Apr 2016 04:34:57 GMT
Server: Apache
Last-Modified: Fri, 01 Apr 2016 05:12:28 GMT
ETag: "14ce-2092-52f656cda4700"
Accept-Ranges: bytes
Content-Length: 8338
Vary: Accept-Encoding
Content-Type: application/javascript

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Authors:
 *  * Svetlana Tkachenko svetlana@members.fsf.org
    * David Volk moz@vovo.id.au
Updating description as we use SASL at Mozilla now, too.
Summary: Add SASL authentication support as used on freenode → Add SASL authentication support as used on various networks (Mozilla, Freenode)

Updated

2 years ago
Summary: Add SASL authentication support as used on various networks (Mozilla, Freenode) → Support IRCv3 sasl extension for authentication as used on various networks (Mozilla, Freenode)

Updated

2 years ago
Summary: Support IRCv3 sasl extension for authentication as used on various networks (Mozilla, Freenode) → Support IRCv3.1 SASL Authentication extension as used on various networks (Mozilla, Freenode)
You need to log in before you can comment on or make changes to this bug.