DWIRC:Security & SASL Auth: Difference between revisions

From DWWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{DWIRC_Guides}}
{{DWIRC_Guides}}
{{DISPLAYTITLE:DWIRC: TLS & SASL Authentication}}
{{DISPLAYTITLE:DWIRC: TLS & SASL Authentication}}
'''📘 DWIRC Guides & Tutorials'''
'''Guides'''
* [[DWIRC:Getting Started|Getting Started]]
* [[DWIRC:IRC Client Setup|IRC Client Setup]]
* [[DWIRC:Mobile Connection Guide|Mobile Connection Guide]]
'''Security'''
* '''TLS & SASL Authentication'''
'''Channel Management'''
* [[DWIRC:Channel Management Tips|Channel Management Tips]]
'''📚 Learn to Connect, Secure, and Manage Your IRC Experience'''


__TOC__
__TOC__
Line 42: Line 24:
|-
|-
| Network name
| Network name
| DarkWorld  
| DarkWorld IRC
|-
|-
| Server
| IRC server
| <code>irc.darkworld.network</code>
| <code>irc.darkworld.network</code>
|-
|-
Line 66: Line 48:
|}
|}


{{Note|Some IRC clients still use the older label “SSL.” When a client
{{Note|Some IRC clients still use the older term “SSL.” When an IRC client offers an “SSL” connection option, it normally refers to a TLS-secured connection.}}
offers “SSL” for IRC connections, it normally refers to a TLS-secured
connection.}}


'''Always use:'''
'''Recommended connection address:'''


<pre>
<pre>
Line 76: Line 56:
</pre>
</pre>


Do not disable certificate verification and do not accept an unexpected
Always enable TLS and certificate verification. Do not accept an unexpected
certificate warning without contacting DarkWorld IRC support.
certificate warning without first checking the server address and contacting
DarkWorld IRC support.


= 🔒 What is TLS? =
= 🔒 What is TLS? =
TLS stands for '''Transport Layer Security'''.


TLS encrypts the connection between your IRC client and the DarkWorld IRC
TLS encrypts the connection between your IRC client and the DarkWorld IRC
server.
server. It helps prevent other parties on the network path from reading or
 
modifying data travelling between your device and the IRC server.
Without TLS, IRC messages, account commands and other connection data may
travel across the network without transport encryption.
 
TLS helps protect data while it is travelling between your device and the
IRC server. It does not make public channel messages private, and it does
not replace good account security.


A secure IRC connection should use:
A secure DarkWorld IRC connection should use:


* Server: <code>irc.darkworld.network</code>
* Server: <code>irc.darkworld.network</code>
Line 97: Line 74:
* TLS or SSL option: enabled
* TLS or SSL option: enabled
* Certificate verification: enabled
* Certificate verification: enabled
TLS protects data while it is travelling between your device and the IRC
server. It does not make public channel messages private and does not replace
good password, account or device security.
== TLS and the PLAIN SASL mechanism ==
The SASL mechanism used by most IRC clients is called <code>PLAIN</code>.
The name does not mean the entire IRC connection is unencrypted. It means the
SASL credentials must be protected by the encrypted TLS connection.
For this reason, only use SASL PLAIN when:
* TLS is enabled.
* The connection uses port <code>6697</code>.
* The server certificate is valid.
* Certificate verification is enabled.
Never configure SASL PLAIN over an unencrypted IRC connection.


== Certificate warnings ==
== Certificate warnings ==


If your IRC client reports that the certificate is expired, untrusted or
If your IRC client reports that the certificate is expired, untrusted or does
does not match <code>irc.darkworld.network</code>:
not match <code>irc.darkworld.network</code>:


# Do not disable certificate verification.
# Do not disable certificate verification.
# Do not permanently accept the unexpected certificate.
# Do not permanently accept the unexpected certificate.
# Confirm that the server address is exactly
# Confirm that the server address is exactly <code>irc.darkworld.network</code>.
  <code>irc.darkworld.network</code>.
# Confirm that the port is <code>6697</code>.
# Confirm that the port is <code>6697</code>.
# Confirm that your device date, time and timezone are correct.
# Update your IRC client and operating-system certificate store.
# Update your IRC client and operating-system certificate store.
# Contact DarkWorld IRC support if the warning continues.
# Contact DarkWorld IRC support if the warning continues.
When asking for help, provide the exact certificate error. Do not include any
password, authentication token, private key or recovery code.


= 🔑 What is SASL? =
= 🔑 What is SASL? =
Line 115: Line 115:
SASL stands for '''Simple Authentication and Security Layer'''.
SASL stands for '''Simple Authentication and Security Layer'''.


SASL authenticates your registered NickServ account while the IRC
SASL authenticates your registered NickServ account while the IRC connection
connection is being established. This normally identifies you before
is being established. This normally identifies your account before automatic
automatic channel joins and before another user can interfere with your
channel joins and before commands requiring an identified account are used.
preferred nickname.


SASL is safer and more reliable than placing a NickServ
SASL is safer and more reliable than placing a NickServ
<code>IDENTIFY</code> command in an automatic perform list.
<code>IDENTIFY</code> command in an automatic perform list.


To use SASL, you must already have a registered DarkWorld NickServ
To use SASL, you must already have a registered DarkWorld NickServ account.
account.


{{Warning|Never post your NickServ password in a channel, private message,
Your SASL username should be your registered NickServ account name. It may be
support ticket, screenshot or staff report. DarkWorld staff will never ask
different from the nickname currently displayed by your IRC client.
you to reveal your password.}}


= 🧩 SASL setup by client =
{{Warning|Never post your NickServ password in a channel, private message, support request, screenshot or staff report. DarkWorld staff will never ask you to reveal your password.}}
 
= 🧩 SASL setup by IRC client =


== mIRC ==
== mIRC ==
=== Graphical setup ===


# Open '''Tools → Options'''.
# Open '''Tools → Options'''.
# Select '''Connect → Servers'''.
# Select '''Connect → Servers'''.
# Add or edit the DarkWorld IRC server.
# Add a new server entry or edit your existing DarkWorld entry.
# Enter <code>irc.darkworld.network</code> as the server address.
# Enter <code>irc.darkworld.network</code> as the server address.
# Enter <code>+6697</code> as the port. The plus sign tells mIRC to use a
# Enter <code>+6697</code> as the port.
  secure connection.
# Select '''SASL''' as the login method.
# Select '''SASL''' as the login method.
# Enter your registered NickServ account name as the SASL username.
# Enter your registered NickServ account name as the SASL username.
Line 145: Line 145:
# Save the server entry and connect.
# Save the server entry and connect.


Recommended values:
The plus sign before <code>6697</code> tells mIRC to establish a secure
connection.


{| class="wikitable"
{| class="wikitable"
Line 163: Line 164:
| SASL
| SASL
|-
|-
| Username
| SASL username
| Your NickServ account name
| Your registered NickServ account name
|-
|-
| Password
| Login password
| Your NickServ password
| Your NickServ account password
|}
|}


Do not select an option that bypasses an invalid TLS certificate.
Do not enable any option that bypasses an invalid server certificate.
 
=== mIRC connection command ===
 
Advanced users may connect with:
 
<pre>
/server -e irc.darkworld.network 6697 -l sasl YourNickServPassword -lname YourAccount
</pre>
 
Replace:
 
* <code>YourAccount</code> with your registered NickServ account name.
* <code>YourNickServPassword</code> with your NickServ password.
 
Using the graphical server configuration is recommended because entering a
password in a visible command can expose it through screenshots, command
history or accidental pasting.


== HexChat ==
== HexChat ==
Line 178: Line 196:
# Add <code>irc.darkworld.network/6697</code> to the server list.
# Add <code>irc.darkworld.network/6697</code> to the server list.
# Enable '''Use SSL for all servers on this network'''.
# Enable '''Use SSL for all servers on this network'''.
# Enable certificate verification.
# Keep the option that accepts invalid certificates disabled.
# Enter your registered nickname in the username or login field.
# Enter your normal nickname.
# Select '''SASL (username + password)''' as the login method.
# Select '''SASL (username + password)''' as the login method.
# Enter your NickServ account password.
# Enter your registered NickServ account name as the username.
# Enter your NickServ password.
# Save the configuration and connect.
# Save the configuration and connect.


{{Note|HexChat 2.16.2 was announced as its final release. Existing users
{{Note|HexChat 2.16.2 was announced as its final release. Existing users should keep their installation updated and consider moving to a maintained IRC client for long-term use.}}
should keep it updated and should consider a maintained IRC client for
long-term use.}}


== WeeChat ==
== WeeChat ==


The server can be created with TLS enabled:
=== Add the DarkWorld server ===
 
Use the following commands:


<pre>
<pre>
Line 198: Line 217:
/set irc.server.darkworld.sasl_username "YourAccount"
/set irc.server.darkworld.sasl_username "YourAccount"
</pre>
</pre>
Replace <code>YourAccount</code> with your registered NickServ account name.
=== Store the password securely ===


Store the NickServ password in WeeChat secure data instead of placing it
Store the NickServ password in WeeChat secure data instead of placing it
directly in the IRC server configuration:
directly in the server configuration:


<pre>
<pre>
/secure passphrase
/secure passphrase YourEncryptionPassphrase
/secure set darkworld_password "YourNickServPassword"
/secure set darkworld_password YourNickServPassword
/set irc.server.darkworld.sasl_password "${sec.data.darkworld_password}"
/set irc.server.darkworld.sasl_password "${sec.data.darkworld_password}"
/save
/save
Line 210: Line 233:
</pre>
</pre>


The <code>/secure passphrase</code> command will prompt you to configure a
Replace:
passphrase. Do not use your NickServ password as the secure-data
passphrase.


Replace:
* <code>YourEncryptionPassphrase</code> with a strong passphrase used to protect WeeChat secure data.
* <code>YourNickServPassword</code> with your NickServ password.


* <code>YourAccount</code> with your registered NickServ account.
Do not reuse your NickServ password as the WeeChat secure-data passphrase.
* <code>YourNickServPassword</code> with your actual password.


Do not paste these commands into a public channel.
Enter these commands only in WeeChat's command-input area. Never enter them
in a channel or private-message window.


== Irssi ==
== Irssi ==
Line 232: Line 254:
</pre>
</pre>


Replace <code>YourAccount</code> and
Replace:
<code>YourNickServPassword</code> with your own account information.
 
* <code>YourAccount</code> with your registered NickServ account name.
* <code>YourNickServPassword</code> with your NickServ password.


The SASL password may be stored in the Irssi configuration file. Protect
The <code>-tls</code> option enables TLS. The <code>-tls_verify</code>
the account running Irssi and ensure that the configuration file is not
option enables certificate verification.
readable by other users.


On a shared shell account, ask the shell administrator or DarkWorld
Irssi may store the SASL password in its configuration file. Protect the
support for the approved secure configuration procedure.
account running Irssi and ensure that other users cannot read the
configuration file.


= ✅ Verifying TLS and SASL =
On a shared shell service, follow the provider's approved secure
configuration procedure. Do not change file permissions or store credentials
in shared locations without authorization.


== Verify TLS ==
= ✅ Verify TLS and SASL =
 
== Verify the TLS connection ==


After connecting, check the server or status window.
After connecting, check the server or status window.


The client should show that:
Confirm that:


* The connection uses TLS.
* The server is <code>irc.darkworld.network</code>.
* The server is <code>irc.darkworld.network</code>.
* The port is <code>6697</code>.
* The port is <code>6697</code>.
* The connection uses TLS.
* Certificate verification succeeded.
* Certificate verification succeeded.
* No certificate warning was displayed.


Some clients display a padlock icon. A padlock is helpful, but the status
Some clients display a padlock icon for secure connections. A padlock is
or connection information should still be checked.
helpful, but you should also inspect the connection information in the
client's server or status window.


== Verify SASL ==
== Verify SASL authentication ==


A successful connection may show a message similar to:
A successful SASL connection may display a message similar to:


<pre>
<pre>
Line 272: Line 302:
</pre>
</pre>


Look for account information showing that your current nickname is logged
Replace <code>YourNickname</code> with your current IRC nickname.
in to your registered account.


You may also use the NickServ status command supported by DarkWorld
Look for account information showing that the nickname is logged in to your
Services:
registered account.


<pre>
Do not include your password in a <code>WHOIS</code> command.
/msg NickServ STATUS YourNickname
 
</pre>
== What successful authentication means ==
 
Successful SASL authentication confirms that your IRC connection has logged
in to the specified NickServ account.
 
It does not grant:
 
* IRC operator access.
* Channel operator access.
* Staff authority.
* Access to another DarkWorld project.
* Permission to bypass network or channel rules.


Do not include your password in either command.
All access remains subject to the account's existing permissions and
DarkWorld IRC policies.


= 🛠 Troubleshooting =
= 🛠 Troubleshooting =
Line 291: Line 332:


# The NickServ account is already registered.
# The NickServ account is already registered.
# The SASL username is the registered account name, not necessarily the
# The SASL username is the registered account name, not necessarily the nickname currently displayed.
  nickname currently displayed.
# The password is correct and uses the correct capitalization.
# The password is correct and has the correct capitalization.
# The SASL mechanism is set to <code>PLAIN</code>.
# The SASL mechanism is set to <code>PLAIN</code>.
# TLS is enabled on port <code>6697</code>.
# TLS is enabled.
# The connection uses port <code>6697</code>.
# Certificate verification is enabled and succeeds.
# There are no accidental spaces before or after the username or password.
# There are no accidental spaces before or after the username or password.
# The account is not suspended or otherwise restricted.
# The account is not suspended, unconfirmed or otherwise restricted.
# The IRC client supports SASL.


If you recently changed your NickServ password, update the stored password
If you recently changed your NickServ password, update the stored SASL
in every IRC client and bouncer.
password in every IRC client, bot and bouncer that uses the account.


== Connection succeeds but SASL does not ==
== Connection succeeds but SASL does not ==


The client may be connecting without sending SASL credentials.
The IRC client may be connecting without sending SASL credentials.


Review the network-specific settings and confirm that:
Confirm that:


* SASL is enabled for the DarkWorld network entry.
* SASL is enabled for the DarkWorld network entry.
* The login method is SASL rather than NickServ or a perform command.
* The login method is set to SASL.
* The username and password are saved under the correct network.
* The username and password are saved under the correct network.
* The client is not using a different duplicate DarkWorld server entry.
* The client is not using a duplicate DarkWorld server entry.
* The client is not relying on an old NickServ perform command.
* The registered account name is being used as the SASL username.
 
Remove outdated automatic identification commands after SASL has been
configured successfully.
 
== Nickname and account name are different ==
 
Your current nickname and registered account name do not always need to be
identical.
 
For example:
 
{| class="wikitable"
! Field
! Example
|-
| Current nickname
| <code>DarkUser-Away</code>
|-
| Registered account
| <code>DarkUser</code>
|-
| SASL username
| <code>DarkUser</code>
|}
 
Use the registered account name as the SASL username.


== TLS certificate error ==
== TLS certificate error ==


Do not bypass the warning.
Do not bypass the certificate warning.


Confirm:
Confirm:
Line 324: Line 395:
* Certificate verification: enabled
* Certificate verification: enabled
* Device date and time: correct
* Device date and time: correct
* IRC client and operating system: updated
* IRC client: updated
* Operating system: updated
 
If the error continues, contact DarkWorld IRC support and provide:


If the certificate error continues, contact DarkWorld IRC support and
* IRC client name and version.
provide the exact error message. Do not include passwords or other
* Operating system.
credentials.
* Server address.
* Port number.
* Exact certificate error.
 
Never provide passwords, authentication tokens, private keys or recovery
codes.


== Password accidentally exposed ==
== Password accidentally exposed ==


If a NickServ password is pasted into a channel, private message, log,
A password is exposed if it is posted or stored somewhere unauthorized,
screenshot or other unauthorized location:
including:
 
* A public IRC channel.
* A private message.
* A support request.
* A staff report.
* A screenshot.
* A public paste.
* A shared configuration file.
* A publicly accessible log.
 
If your NickServ password is exposed:


# Do not repeat or quote the exposed password.
# Do not repeat, quote or copy the exposed password.
# Change the NickServ password immediately using the official NickServ
# Change the NickServ password immediately using the password-change procedure documented by DarkWorld IRC Services.
  password command.
# Update the saved SASL password in every authorized IRC client, bot and bouncer.
# Update the saved SASL password in your clients and bouncers.
# Report the exposure through the approved DarkWorld support or security channel.
# Report the exposure through the approved DarkWorld support or security
# Review connected sessions and unexpected account activity where possible.
  channel.
# Change the password of any other account that reused the same password.
# Review any connected sessions or unexpected account activity.
# Remove or restrict access to the exposed content where authorized.
# Change any other account that reused the same password.


Never reuse your NickServ password for email, websites, shell accounts,
Never reuse your NickServ password for email, websites, shell accounts,
bots or other services.
bots, staff portals or other services.
 
= 🛡 Account and device security =


= 🛡 Account security recommendations =
== Account security recommendations ==


* Use a strong and unique NickServ password.
* Use a strong and unique NickServ password.
* Use a password manager.
* Store passwords in a reputable password manager.
* Enable MFA on related staff, email and project accounts wherever
  supported.
* Keep your IRC client and operating system updated.
* Use TLS and SASL on every connection.
* Use TLS and SASL on every connection.
* Do not share IRC configuration files containing credentials.
* Enable MFA on related email, staff and project accounts wherever supported.
* Do not send passwords through IRC messages.
* Never share account credentials.
* Lock your device when it is unattended.
* Never send passwords through IRC messages.
* Remove old or unused client configurations.
* Remove obsolete automatic NickServ identification commands.
* Report suspected account exposure immediately.
* Remove unused client and bouncer configurations.
* Report suspected credential exposure immediately.
 
== Device security recommendations ==
 
* Keep the operating system updated.
* Keep the IRC client updated.
* Use a supported IRC client.
* Enable automatic screen locking.
* Protect the device with a password, PIN or equivalent authentication.
* Do not allow unauthorized people to use a privileged IRC session.
* Use appropriate anti-malware protection where applicable.
* Encrypt the device storage where supported.
* Back up recovery information securely.
* Avoid using privileged IRC accounts on public or untrusted devices.
 
= 👥 Additional requirements for staff and trainees =
 
DarkWorld IRC staff members and trainees must:
 
* Use TLS for every staff-related IRC connection.
* Use SASL where supported.
* Use an approved and securely configured IRC client.
* Protect staff and Services credentials.
* Report suspected credential exposure immediately.
* Keep privileged access separate from ordinary testing where required.
* Follow the principle of least privilege.
* Never request a user's password.
* Never copy a user's exposed password into a report.
* Follow approved account-recovery and incident-reporting procedures.
 
Acceptance into staff training does not itself grant staff authority or
privileged access.


= ❓ Getting help =
= ❓ Getting help =


If you cannot configure TLS or SASL, ask for help in the official
If you cannot configure TLS or SASL, ask for assistance in the official
DarkWorld IRC support channel.
DarkWorld IRC support channel.


When requesting assistance, provide:
When requesting help, provide:


* IRC client name and version.
* IRC client name and version.
* Operating system.
* Operating system.
* Server address and port.
* The exact error message.
* The exact error message.
* Whether the problem involves TLS, SASL or both.
* Whether the problem involves TLS, SASL or both.
* Whether the problem occurs during connection or authentication.


'''Never provide your password, authentication token, recovery code or
'''Never provide your password, authentication token, recovery code,
private key.'''
private key or password-manager information.'''


= 🧭 Next step =
= 🧭 Next steps =


After securing your connection and account, continue with:
After securing your connection and account, continue with:


* [[DWIRC:Channel Management Tips|Channel Management Tips]]
* [[DWIRC:Getting Started|Getting Started]]
* [[DWIRC:IRC Client Setup|IRC Client Setup]]
* [[DWIRC:IRC Client Setup|IRC Client Setup]]
* [[DWIRC:Mobile Connection Guide|Mobile Connection Guide]]
* [[DWIRC:Mobile Connection Guide|Mobile Connection Guide]]
* [[DWIRC:Channel Management Tips|Channel Management Tips]]


= References =
= References =
Line 392: Line 515:
* [https://irssi.org/documentation/help/connect/ Irssi TLS connection documentation]
* [https://irssi.org/documentation/help/connect/ Irssi TLS connection documentation]
* [https://hexchat.github.io/ HexChat official website]
* [https://hexchat.github.io/ HexChat official website]
* [https://www.anope.org/upgrading.html Anope 2.0 to 2.1 upgrade documentation]


{{DWFooter}}
{{DWFooter}}

Revision as of 01:41, 17 August 2026

📘 DWIRC Guides & Tutorials

Guides

Security

Channel Management

📚 Learn to Connect, Secure, and Manage Your IRC Experience



🔐 TLS & SASL Authentication

Protecting your connection and IRC account is important when using the DarkWorld IRC Network.

This guide explains how to:

  • Connect securely using TLS encryption.
  • Verify the IRC server certificate.
  • Authenticate automatically using SASL.
  • Protect your NickServ password.
  • Troubleshoot common TLS and SASL problems.

DarkWorld IRC connection settings

Setting Value
Network name DarkWorld IRC
IRC server irc.darkworld.network
Secure port 6697
Encryption TLS enabled
Certificate verification Enabled
SASL mechanism PLAIN
SASL username Your registered NickServ account name
SASL password Your NickServ account password

Template:Note

Recommended connection address:

irc.darkworld.network:6697

Always enable TLS and certificate verification. Do not accept an unexpected certificate warning without first checking the server address and contacting DarkWorld IRC support.

🔒 What is TLS?

TLS stands for Transport Layer Security.

TLS encrypts the connection between your IRC client and the DarkWorld IRC server. It helps prevent other parties on the network path from reading or modifying data travelling between your device and the IRC server.

A secure DarkWorld IRC connection should use:

  • Server: irc.darkworld.network
  • Port: 6697
  • TLS or SSL option: enabled
  • Certificate verification: enabled

TLS protects data while it is travelling between your device and the IRC server. It does not make public channel messages private and does not replace good password, account or device security.

TLS and the PLAIN SASL mechanism

The SASL mechanism used by most IRC clients is called PLAIN.

The name does not mean the entire IRC connection is unencrypted. It means the SASL credentials must be protected by the encrypted TLS connection.

For this reason, only use SASL PLAIN when:

  • TLS is enabled.
  • The connection uses port 6697.
  • The server certificate is valid.
  • Certificate verification is enabled.

Never configure SASL PLAIN over an unencrypted IRC connection.

Certificate warnings

If your IRC client reports that the certificate is expired, untrusted or does not match irc.darkworld.network:

  1. Do not disable certificate verification.
  2. Do not permanently accept the unexpected certificate.
  3. Confirm that the server address is exactly irc.darkworld.network.
  4. Confirm that the port is 6697.
  5. Confirm that your device date, time and timezone are correct.
  6. Update your IRC client and operating-system certificate store.
  7. Contact DarkWorld IRC support if the warning continues.

When asking for help, provide the exact certificate error. Do not include any password, authentication token, private key or recovery code.

🔑 What is SASL?

SASL stands for Simple Authentication and Security Layer.

SASL authenticates your registered NickServ account while the IRC connection is being established. This normally identifies your account before automatic channel joins and before commands requiring an identified account are used.

SASL is safer and more reliable than placing a NickServ IDENTIFY command in an automatic perform list.

To use SASL, you must already have a registered DarkWorld NickServ account.

Your SASL username should be your registered NickServ account name. It may be different from the nickname currently displayed by your IRC client.

Template:Warning

🧩 SASL setup by IRC client

mIRC

Graphical setup

  1. Open Tools → Options.
  2. Select Connect → Servers.
  3. Add a new server entry or edit your existing DarkWorld entry.
  4. Enter irc.darkworld.network as the server address.
  5. Enter +6697 as the port.
  6. Select SASL as the login method.
  7. Enter your registered NickServ account name as the SASL username.
  8. Enter your NickServ password as the login password.
  9. Save the server entry and connect.

The plus sign before 6697 tells mIRC to establish a secure connection.

mIRC field Value
Description DarkWorld IRC
Address irc.darkworld.network
Port +6697
Login method SASL
SASL username Your registered NickServ account name
Login password Your NickServ account password

Do not enable any option that bypasses an invalid server certificate.

mIRC connection command

Advanced users may connect with:

/server -e irc.darkworld.network 6697 -l sasl YourNickServPassword -lname YourAccount

Replace:

  • YourAccount with your registered NickServ account name.
  • YourNickServPassword with your NickServ password.

Using the graphical server configuration is recommended because entering a password in a visible command can expose it through screenshots, command history or accidental pasting.

HexChat

  1. Open HexChat → Network List.
  2. Select DarkWorld and choose Edit.
  3. Add irc.darkworld.network/6697 to the server list.
  4. Enable Use SSL for all servers on this network.
  5. Keep the option that accepts invalid certificates disabled.
  6. Enter your normal nickname.
  7. Select SASL (username + password) as the login method.
  8. Enter your registered NickServ account name as the username.
  9. Enter your NickServ password.
  10. Save the configuration and connect.

Template:Note

WeeChat

Add the DarkWorld server

Use the following commands:

/server add darkworld irc.darkworld.network/6697 -tls
/set irc.server.darkworld.tls_verify on
/set irc.server.darkworld.sasl_mechanism plain
/set irc.server.darkworld.sasl_username "YourAccount"

Replace YourAccount with your registered NickServ account name.

Store the password securely

Store the NickServ password in WeeChat secure data instead of placing it directly in the server configuration:

/secure passphrase YourEncryptionPassphrase
/secure set darkworld_password YourNickServPassword
/set irc.server.darkworld.sasl_password "${sec.data.darkworld_password}"
/save
/connect darkworld

Replace:

  • YourEncryptionPassphrase with a strong passphrase used to protect WeeChat secure data.
  • YourNickServPassword with your NickServ password.

Do not reuse your NickServ password as the WeeChat secure-data passphrase.

Enter these commands only in WeeChat's command-input area. Never enter them in a channel or private-message window.

Irssi

Add the DarkWorld network with native SASL support:

/NETWORK ADD -sasl_mechanism PLAIN -sasl_username YourAccount -sasl_password YourNickServPassword DarkWorld
/SERVER ADD -auto -tls -tls_verify -network DarkWorld irc.darkworld.network 6697
/SAVE
/CONNECT DarkWorld

Replace:

  • YourAccount with your registered NickServ account name.
  • YourNickServPassword with your NickServ password.

The -tls option enables TLS. The -tls_verify option enables certificate verification.

Irssi may store the SASL password in its configuration file. Protect the account running Irssi and ensure that other users cannot read the configuration file.

On a shared shell service, follow the provider's approved secure configuration procedure. Do not change file permissions or store credentials in shared locations without authorization.

✅ Verify TLS and SASL

Verify the TLS connection

After connecting, check the server or status window.

Confirm that:

  • The server is irc.darkworld.network.
  • The port is 6697.
  • The connection uses TLS.
  • Certificate verification succeeded.
  • No certificate warning was displayed.

Some clients display a padlock icon for secure connections. A padlock is helpful, but you should also inspect the connection information in the client's server or status window.

Verify SASL authentication

A successful SASL connection may display a message similar to:

You are now logged in as YourAccount

You can also check your current identity with:

/WHOIS YourNickname

Replace YourNickname with your current IRC nickname.

Look for account information showing that the nickname is logged in to your registered account.

Do not include your password in a WHOIS command.

What successful authentication means

Successful SASL authentication confirms that your IRC connection has logged in to the specified NickServ account.

It does not grant:

  • IRC operator access.
  • Channel operator access.
  • Staff authority.
  • Access to another DarkWorld project.
  • Permission to bypass network or channel rules.

All access remains subject to the account's existing permissions and DarkWorld IRC policies.

🛠 Troubleshooting

SASL authentication failed

Check the following:

  1. The NickServ account is already registered.
  2. The SASL username is the registered account name, not necessarily the nickname currently displayed.
  3. The password is correct and uses the correct capitalization.
  4. The SASL mechanism is set to PLAIN.
  5. TLS is enabled.
  6. The connection uses port 6697.
  7. Certificate verification is enabled and succeeds.
  8. There are no accidental spaces before or after the username or password.
  9. The account is not suspended, unconfirmed or otherwise restricted.
  10. The IRC client supports SASL.

If you recently changed your NickServ password, update the stored SASL password in every IRC client, bot and bouncer that uses the account.

Connection succeeds but SASL does not

The IRC client may be connecting without sending SASL credentials.

Confirm that:

  • SASL is enabled for the DarkWorld network entry.
  • The login method is set to SASL.
  • The username and password are saved under the correct network.
  • The client is not using a duplicate DarkWorld server entry.
  • The client is not relying on an old NickServ perform command.
  • The registered account name is being used as the SASL username.

Remove outdated automatic identification commands after SASL has been configured successfully.

Nickname and account name are different

Your current nickname and registered account name do not always need to be identical.

For example:

Field Example
Current nickname DarkUser-Away
Registered account DarkUser
SASL username DarkUser

Use the registered account name as the SASL username.

TLS certificate error

Do not bypass the certificate warning.

Confirm:

  • Server: irc.darkworld.network
  • Port: 6697
  • TLS: enabled
  • Certificate verification: enabled
  • Device date and time: correct
  • IRC client: updated
  • Operating system: updated

If the error continues, contact DarkWorld IRC support and provide:

  • IRC client name and version.
  • Operating system.
  • Server address.
  • Port number.
  • Exact certificate error.

Never provide passwords, authentication tokens, private keys or recovery codes.

Password accidentally exposed

A password is exposed if it is posted or stored somewhere unauthorized, including:

  • A public IRC channel.
  • A private message.
  • A support request.
  • A staff report.
  • A screenshot.
  • A public paste.
  • A shared configuration file.
  • A publicly accessible log.

If your NickServ password is exposed:

  1. Do not repeat, quote or copy the exposed password.
  2. Change the NickServ password immediately using the password-change procedure documented by DarkWorld IRC Services.
  3. Update the saved SASL password in every authorized IRC client, bot and bouncer.
  4. Report the exposure through the approved DarkWorld support or security channel.
  5. Review connected sessions and unexpected account activity where possible.
  6. Change the password of any other account that reused the same password.
  7. Remove or restrict access to the exposed content where authorized.

Never reuse your NickServ password for email, websites, shell accounts, bots, staff portals or other services.

🛡 Account and device security

Account security recommendations

  • Use a strong and unique NickServ password.
  • Store passwords in a reputable password manager.
  • Use TLS and SASL on every connection.
  • Enable MFA on related email, staff and project accounts wherever supported.
  • Never share account credentials.
  • Never send passwords through IRC messages.
  • Remove obsolete automatic NickServ identification commands.
  • Remove unused client and bouncer configurations.
  • Report suspected credential exposure immediately.

Device security recommendations

  • Keep the operating system updated.
  • Keep the IRC client updated.
  • Use a supported IRC client.
  • Enable automatic screen locking.
  • Protect the device with a password, PIN or equivalent authentication.
  • Do not allow unauthorized people to use a privileged IRC session.
  • Use appropriate anti-malware protection where applicable.
  • Encrypt the device storage where supported.
  • Back up recovery information securely.
  • Avoid using privileged IRC accounts on public or untrusted devices.

👥 Additional requirements for staff and trainees

DarkWorld IRC staff members and trainees must:

  • Use TLS for every staff-related IRC connection.
  • Use SASL where supported.
  • Use an approved and securely configured IRC client.
  • Protect staff and Services credentials.
  • Report suspected credential exposure immediately.
  • Keep privileged access separate from ordinary testing where required.
  • Follow the principle of least privilege.
  • Never request a user's password.
  • Never copy a user's exposed password into a report.
  • Follow approved account-recovery and incident-reporting procedures.

Acceptance into staff training does not itself grant staff authority or privileged access.

❓ Getting help

If you cannot configure TLS or SASL, ask for assistance in the official DarkWorld IRC support channel.

When requesting help, provide:

  • IRC client name and version.
  • Operating system.
  • Server address and port.
  • The exact error message.
  • Whether the problem involves TLS, SASL or both.
  • Whether the problem occurs during connection or authentication.

Never provide your password, authentication token, recovery code, private key or password-manager information.

🧭 Next steps

After securing your connection and account, continue with:

References

Part of the DarkWorld Network Wiki Project Maintained by the DarkWorld Wiki Team

DarkWorld Network — Building an Open, Secure, and Collaborative Internet Since 2021

🌍 Connect with Us: | | | | | | File:Telegram.png

Quick Links: 🏠 Home💬 DWIRC🔗 DWBouncers💻 DWShells📘 Tutorials📈 Stats🎮 Games🧭 Hosting

💡 Want to contribute? See How to Contribute and help build the DarkWorld knowledge base!

📅 Last Updated: 2026-08-17 • Content licensed under CC-BY-SA 4.0 unless otherwise noted.