--
This commit is contained in:
50
irc.html
Normal file
50
irc.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html prefix="og: http://ogp.me/ns#" lang="en">
|
||||
<head>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.png">
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.5">
|
||||
<title id="title">Xolatile.Top</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Registering</h2>
|
||||
<p>You need a client that can connect with SASL (Weechat, irssi, etc.) and must fully set it up BEFORE reconnecting.</p>
|
||||
<p>You'll have exclusive control over your nick and will have enabled a server-side bouncer.<p>
|
||||
<pre>
|
||||
/nick your_nick_forever
|
||||
/msg nickserv register <PASSWORD>
|
||||
</pre>
|
||||
<h2>Authentication methods (pick one)</h2>
|
||||
<h3>SASL PLAIN</h3>
|
||||
<p>Simple plaintext password, the most widely supported and relatively easy to setup.</p>
|
||||
<pre>
|
||||
set sasl_mechanism = plain
|
||||
set sasl_username = nick
|
||||
set sasl_password = <PASSWORD> # same as registration
|
||||
</pre>
|
||||
</p>
|
||||
<h3>CertFP/SASL EXTERN</h3>
|
||||
<p>Certificate based authentication, more intensive setup. You're objectively cooler for using it.</p>
|
||||
<p>The following commands are required, this generates a valid certificate and prints the fingerprint which you must copy to your IRC client.</p>
|
||||
<pre>
|
||||
$ openssl genpkey -algorithm ed25519 -out private.pem
|
||||
$ openssl req -new -x509 -key private.pem -out cert.pem -days 365
|
||||
# go through the prompt, just hit enter...
|
||||
$ cat private.pem cert.pem > nick.pem
|
||||
$ rm private.pem cert.pem
|
||||
# then get your fingerprint, copy this into your clipboard...
|
||||
$ openssl x509 -in nick.pem -outform DER | sha256sum -b | awk '{print $1}'
|
||||
$ mv nick.pem ~/.cert/
|
||||
</pre>
|
||||
<p>Add that fingerprint like this:</p>
|
||||
<pre>
|
||||
/msg nickserv cert add FINGERPRINT
|
||||
</pre>
|
||||
<p>For weechat, you may configure it like this, and in general these are the details you must supply:</p>
|
||||
<pre>
|
||||
set sasl_mechanism = external # overrides sasl configuration and uses client-side tls cert
|
||||
set tls_cert = ~/.cert/nick.pem
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user