Konversation/Configuring SASL authentication: Difference between revisions
Appearance
m add Note template |
Marked this version for translation |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
==Configuring SASL authentication== | ==Configuring SASL authentication== <!--T:1--> | ||
<!--T:2--> | |||
This document will guide you through configuring SASL authentication for an IRC network, using the [http://freenode.net/ freenode] network as an example. | This document will guide you through configuring SASL authentication for an IRC network, using the [http://freenode.net/ freenode] network as an example. | ||
<!--T:3--> | |||
{{Note|1=Support for SASL authentication is a new feature in Konversation v1.5, which has not yet been released. If you'd like to test SASL authentication prior to the release, have a look at our instructions for [[Special:myLanguage/Konversation/Sources|downloading the latest source code]].}} | {{Note|1=Support for SASL authentication is a new feature in Konversation v1.5, which has not yet been released. If you'd like to test SASL authentication prior to the release, have a look at our instructions for [[Special:myLanguage/Konversation/Sources|downloading the latest source code]].}} | ||
<!--T:4--> | |||
<ol> | <ol> | ||
<li style="text-align:left;"><span id="step1"></span>Let's start by adding the network to the <menuchoice>Server List</menuchoice>. Open the <menuchoice>Server List</menuchoice> dialog window by pressing the <keycap>F2</keycap> key or by clicking <menuchoice>File -> Server List...</menuchoice> in the application menu:<br /> | <li style="text-align:left;"><span id="step1"></span>Let's start by adding the network to the <menuchoice>Server List</menuchoice>. Open the <menuchoice>Server List</menuchoice> dialog window by pressing the <keycap>F2</keycap> key or by clicking <menuchoice>File -> Server List...</menuchoice> in the application menu:<br /> | ||
[[Image:Authconfig01.png]]<br /><br /><br /></li> | [[Image:Authconfig01.png]]<br /><br /><br /></li> | ||
<!--T:5--> | |||
<li style="text-align:left;"><span id="step2"></span>If you already have an entry for freenode in the <menuchoice>Server List</menuchoice>, select it now and then click the <menuchoice>Edit...</menuchoice> button to open the <menuchoice>Edit Network</menuchoice> dialog window and skip to [[#step5|step 5]] (or [[#step4|step 4]] if you're interested in learning about SSL secure transport settings for a network's servers, which complement SASL authentication). Alternatively, click the <menuchoice>New...</menuchoice> button in the upper-right of the window to open the <menuchoice>New Network</menuchoice> dialog window:<br /> | <li style="text-align:left;"><span id="step2"></span>If you already have an entry for freenode in the <menuchoice>Server List</menuchoice>, select it now and then click the <menuchoice>Edit...</menuchoice> button to open the <menuchoice>Edit Network</menuchoice> dialog window and skip to [[#step5|step 5]] (or [[#step4|step 4]] if you're interested in learning about SSL secure transport settings for a network's servers, which complement SASL authentication). Alternatively, click the <menuchoice>New...</menuchoice> button in the upper-right of the window to open the <menuchoice>New Network</menuchoice> dialog window:<br /> | ||
[[Image:Authconfig02.png]]</li> | [[Image:Authconfig02.png]]</li> | ||
<!--T:6--> | |||
<li style="text-align:left;">In the <menuchoice>New Network</menuchoice> dialog window, give the network a name by filling in the <menuchoice>Network name</menuchoice> field. Then click the <menuchoice>Add...</menuchoice> button below the list labeled <menuchoice>Servers</menuchoice> to open the <menuchoice>Add Server</menuchoice> dialog window:<br /> | <li style="text-align:left;">In the <menuchoice>New Network</menuchoice> dialog window, give the network a name by filling in the <menuchoice>Network name</menuchoice> field. Then click the <menuchoice>Add...</menuchoice> button below the list labeled <menuchoice>Servers</menuchoice> to open the <menuchoice>Add Server</menuchoice> dialog window:<br /> | ||
[[Image:Authconfig03.png]]</li> | [[Image:Authconfig03.png]]</li> | ||
<!--T:7--> | |||
<li style="text-align:left;"><span id="step4"></span>Fill the <menuchoice>Add Server</menuchoice> dialog window as shown in the next screenshot. As the purpose of this guide is to ultimately configure a secure authentication method, note that we have chosen to enable SSL to also use a secure transport between us and the server, logically complementing secure authentication. (You can learn more about freenode's servers and the ports they listen on [http://freenode.net/irc_servers.shtml here].) Clicking the <menuchoice>Ok</menuchoice> button will save the server and take you back to the <menuchoice>New Network</menuchoice> dialog window.<br /> | <li style="text-align:left;"><span id="step4"></span>Fill the <menuchoice>Add Server</menuchoice> dialog window as shown in the next screenshot. As the purpose of this guide is to ultimately configure a secure authentication method, note that we have chosen to enable SSL to also use a secure transport between us and the server, logically complementing secure authentication. (You can learn more about freenode's servers and the ports they listen on [http://freenode.net/irc_servers.shtml here].) Clicking the <menuchoice>Ok</menuchoice> button will save the server and take you back to the <menuchoice>New Network</menuchoice> dialog window.<br /> | ||
[[Image:Authconfig04.png]]</li> | [[Image:Authconfig04.png]]</li> | ||
<!--T:8--> | |||
<li style="text-align:left;"><span id="step5"></span>Back in the <menuchoice>New Network</menuchoice> dialog window (<menuchoice>or Edit Network</menuchoice>, if you skipped here from [[#step2|step 2]]), notice the newly-added server in the <menuchoice>Servers</menuchoice> list for the network. Now click the <menuchoice>Edit...</menuchoice> button next to the drop-down selection labeled <menuchoice>Identity</menuchoice> to open the <menuchoice>Identities</menuchoice> dialog window:<br /> | <li style="text-align:left;"><span id="step5"></span>Back in the <menuchoice>New Network</menuchoice> dialog window (<menuchoice>or Edit Network</menuchoice>, if you skipped here from [[#step2|step 2]]), notice the newly-added server in the <menuchoice>Servers</menuchoice> list for the network. Now click the <menuchoice>Edit...</menuchoice> button next to the drop-down selection labeled <menuchoice>Identity</menuchoice> to open the <menuchoice>Identities</menuchoice> dialog window:<br /> | ||
[[Image:Authconfig05.png]]</li> | [[Image:Authconfig05.png]]</li> | ||
<!--T:9--> | |||
<li style="text-align:left;">Welcome to the <menuchoice>Identities</menuchoice> dialog window. This dialog window allows you to create and manage an unlimited number of Identities. An Identity is a way to store settings related to your person (such as your real name and nicknames) separately from the settings for a network, so you can for example reuse them for multiple different networks. It also makes it easy to switch between different Identity settings for a single network, by selecting the right Identity in the <menuchoice>New Network</menuchoice> dialog window from the preceding steps or in the similar <menuchoice>Edit Network</menuchoice> dialog window used to modify an existing network in the <menuchoice>Server List</menuchoice>. For added convenience, if you open the <menuchoice>Identities</menuchoice> dialog window from the <menuchoice>New/Edit Network</menuchoice> dialog window as we have done here (alternatively, you can open it any time by pressing <menuchoice>F8</menuchoice>), the Identity you are viewing at the time you press the <menuchoice>Ok</menuchoice> button will be automatically selected for the network.<br /><br /> | <li style="text-align:left;">Welcome to the <menuchoice>Identities</menuchoice> dialog window. This dialog window allows you to create and manage an unlimited number of Identities. An Identity is a way to store settings related to your person (such as your real name and nicknames) separately from the settings for a network, so you can for example reuse them for multiple different networks. It also makes it easy to switch between different Identity settings for a single network, by selecting the right Identity in the <menuchoice>New Network</menuchoice> dialog window from the preceding steps or in the similar <menuchoice>Edit Network</menuchoice> dialog window used to modify an existing network in the <menuchoice>Server List</menuchoice>. For added convenience, if you open the <menuchoice>Identities</menuchoice> dialog window from the <menuchoice>New/Edit Network</menuchoice> dialog window as we have done here (alternatively, you can open it any time by pressing <menuchoice>F8</menuchoice>), the Identity you are viewing at the time you press the <menuchoice>Ok</menuchoice> button will be automatically selected for the network.<br /><br /> | ||
<!--T:10--> | |||
Because Identities are such an important concept in Konversation, this guide will now take you through adding and filling in an entirely new Identity to use with freenode before turning to adding the authentication settings. If you're already familiar with managing Identities, you can skip to [[#step9|step 9]] now.<br /><br /> | Because Identities are such an important concept in Konversation, this guide will now take you through adding and filling in an entirely new Identity to use with freenode before turning to adding the authentication settings. If you're already familiar with managing Identities, you can skip to [[#step9|step 9]] now.<br /><br /> | ||
<!--T:11--> | |||
Note that adding a new Identity is not strictly necessary. As long as you are only using a single IRC network, just filling in the Default Identity is of course enough. But even when using multiple IRC networks, using just the Default Identity for all of them can be enough, if there is no need for any of the Identity settings to differ from network to network. However because, as we will see later, the authentication settings are part of the Identity, it is usually good practice to use separate Identities for different networks, so you can use different passwords on each network for better security. Given this, click the button next to the drop-down selection labeled <menuchoice>Identity</menuchoice> to open the <menuchoice>Add Identity</menuchoice> dialog window:<br /> | Note that adding a new Identity is not strictly necessary. As long as you are only using a single IRC network, just filling in the Default Identity is of course enough. But even when using multiple IRC networks, using just the Default Identity for all of them can be enough, if there is no need for any of the Identity settings to differ from network to network. However because, as we will see later, the authentication settings are part of the Identity, it is usually good practice to use separate Identities for different networks, so you can use different passwords on each network for better security. Given this, click the button next to the drop-down selection labeled <menuchoice>Identity</menuchoice> to open the <menuchoice>Add Identity</menuchoice> dialog window:<br /> | ||
[[Image:Authconfig06.png]]</li> | [[Image:Authconfig06.png]]</li> | ||
<!--T:12--> | |||
<li style="text-align:left;">In the <menuchoice>Add Identity</menuchoice> dialog window, enter a name for the new Identity and click the <menuchoice>Ok</menuchoice> button to get back to the <menuchoice>Identities</menuchoice> dialog window. Note that the name "freenode" in the following screenshot is just a useful memory aid for the connection to the network; there is no need for the network and Identity name to be the same:<br /> | <li style="text-align:left;">In the <menuchoice>Add Identity</menuchoice> dialog window, enter a name for the new Identity and click the <menuchoice>Ok</menuchoice> button to get back to the <menuchoice>Identities</menuchoice> dialog window. Note that the name "freenode" in the following screenshot is just a useful memory aid for the connection to the network; there is no need for the network and Identity name to be the same:<br /> | ||
[[Image:Authconfig07.png]]</li> | [[Image:Authconfig07.png]]</li> | ||
<!--T:13--> | |||
<li style="text-align:left;">Back in the <menuchoice>Identities</menuchoice> dialog window, fill in the basic settings for the newly-added Identity, which has been automatically selected in the dialog (notice the drop-down selection labeled <menuchoice>Identity</menuchoice> at the top of the dialog window). Entering a <menuchoice>Real name</menuchoice> and adding at least one <menuchoice>Nickname</menuchoice> are required:<br /> | <li style="text-align:left;">Back in the <menuchoice>Identities</menuchoice> dialog window, fill in the basic settings for the newly-added Identity, which has been automatically selected in the dialog (notice the drop-down selection labeled <menuchoice>Identity</menuchoice> at the top of the dialog window). Entering a <menuchoice>Real name</menuchoice> and adding at least one <menuchoice>Nickname</menuchoice> are required:<br /> | ||
[[Image:Authconfig08.png]]</li> | [[Image:Authconfig08.png]]</li> | ||
<!--T:14--> | |||
<li style="text-align:left;"><span id="step9"></span>Now it's time to get to our final objective: Adding SASL authentication settings to the new Identity for use with the freenode network.<br /><br /> | <li style="text-align:left;"><span id="step9"></span>Now it's time to get to our final objective: Adding SASL authentication settings to the new Identity for use with the freenode network.<br /><br /> | ||
<!--T:15--> | |||
(A short interlude: For the sake of brevity, and because the best and most up-to-date documentation for the account creation process is available on freenode's own website, this guide assumes that you already have a freenode account. If you don't have an account yet, however, click <menuchoice>Ok</menuchoice> now in the <menuchoice>Identities</menuchoice> dialog window and then in the <menuchoice>New/Edit Network</menuchoice> dialog window. You can then connect to freenode unauthenticated by selecting it in the <menuchoice>Server List</menuchoice> dialog window and clicking the <menuchoice>Connect</menuchoice> button at the bottom of the dialog window. Once you are connected to freenode you can follow [http://freenode-dev.net/faq.shtml#nicksetup their instructions] to create an account. Once you're done, open the <menuchoice>Server List</menuchoice> dialog window again (see [[#step1|step 1]]), select freenode and click the <menuchoice>Edit...</menuchoice> button to open the <menuchoice>Edit Network</menuchoice> dialog window and the <menuchoice>Edit...</menuchoice> button again to open the <menuchoice>Identities</menuchoice> dialog. Note that you will need to reconnect after adding the authentication settings to connect authenticated.)<br /><br /> | (A short interlude: For the sake of brevity, and because the best and most up-to-date documentation for the account creation process is available on freenode's own website, this guide assumes that you already have a freenode account. If you don't have an account yet, however, click <menuchoice>Ok</menuchoice> now in the <menuchoice>Identities</menuchoice> dialog window and then in the <menuchoice>New/Edit Network</menuchoice> dialog window. You can then connect to freenode unauthenticated by selecting it in the <menuchoice>Server List</menuchoice> dialog window and clicking the <menuchoice>Connect</menuchoice> button at the bottom of the dialog window. Once you are connected to freenode you can follow [http://freenode-dev.net/faq.shtml#nicksetup their instructions] to create an account. Once you're done, open the <menuchoice>Server List</menuchoice> dialog window again (see [[#step1|step 1]]), select freenode and click the <menuchoice>Edit...</menuchoice> button to open the <menuchoice>Edit Network</menuchoice> dialog window and the <menuchoice>Edit...</menuchoice> button again to open the <menuchoice>Identities</menuchoice> dialog. Note that you will need to reconnect after adding the authentication settings to connect authenticated.)<br /><br /> | ||
<!--T:16--> | |||
To add SASL authentication settings to the Identity, focus on the group of settings labeled <menuchoice>Auto-Identify</menuchoice>, still on the <menuchoice>General</menuchoice> tab of the <menuchoice>Identities</menuchoice> dialog window. The first step is to select <menuchoice>SASL</menuchoice> in the drop-down selection labeled <menuchoice>Type</menuchoice>. Then all that's left to do is to enter your freenode account's name and password in the <menuchoice>Account</menuchoice> and <menuchoice>Password</menuchoice> fields below the drop-down selection and clicking the <menuchoice>Ok</menuchoice> button to save the new Identity settings:<br /> | To add SASL authentication settings to the Identity, focus on the group of settings labeled <menuchoice>Auto-Identify</menuchoice>, still on the <menuchoice>General</menuchoice> tab of the <menuchoice>Identities</menuchoice> dialog window. The first step is to select <menuchoice>SASL</menuchoice> in the drop-down selection labeled <menuchoice>Type</menuchoice>. Then all that's left to do is to enter your freenode account's name and password in the <menuchoice>Account</menuchoice> and <menuchoice>Password</menuchoice> fields below the drop-down selection and clicking the <menuchoice>Ok</menuchoice> button to save the new Identity settings:<br /> | ||
[[Image:Authconfig09.png]]</li> | [[Image:Authconfig09.png]]</li> | ||
<!--T:17--> | |||
<li style="text-align:left;">Now click the <menuchoice>Ok</menuchoice> button in the <menuchoice>New/Edit Network</menuchoice> dialog window to save the network and get back to the <menuchoice>Server List</menuchoice> dialog window.</li> | <li style="text-align:left;">Now click the <menuchoice>Ok</menuchoice> button in the <menuchoice>New/Edit Network</menuchoice> dialog window to save the network and get back to the <menuchoice>Server List</menuchoice> dialog window.</li> | ||
<!--T:18--> | |||
<li style="text-align:left;">In the Server List dialog window you can now select freenode in the list and press the <menuchoice>Connect</menuchoice> button at the bottom of the dialog window (or double-click the entry) to connect to freenode with SASL authentication:<br /> | <li style="text-align:left;">In the Server List dialog window you can now select freenode in the list and press the <menuchoice>Connect</menuchoice> button at the bottom of the dialog window (or double-click the entry) to connect to freenode with SASL authentication:<br /> | ||
[[Image:Authconfig10.png]]</li> | [[Image:Authconfig10.png]]</li> | ||
</ol> | </ol> | ||
<!--T:19--> | |||
[[Category:Internet]] | [[Category:Internet]] | ||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
</translate> | </translate> |
Revision as of 05:45, 11 June 2012
Configuring SASL authentication
This document will guide you through configuring SASL authentication for an IRC network, using the freenode network as an example.
- Let's start by adding the network to the F2 key or by clicking in the application menu:
. Open the dialog window by pressing the - If you already have an entry for freenode in the step 5 (or step 4 if you're interested in learning about SSL secure transport settings for a network's servers, which complement SASL authentication). Alternatively, click the button in the upper-right of the window to open the dialog window:
, select it now and then click the button to open the dialog window and skip to - In the
dialog window, give the network a name by filling in the field. Then click the button below the list labeled to open the dialog window: - Fill the here.) Clicking the button will save the server and take you back to the dialog window.
dialog window as shown in the next screenshot. As the purpose of this guide is to ultimately configure a secure authentication method, note that we have chosen to enable SSL to also use a secure transport between us and the server, logically complementing secure authentication. (You can learn more about freenode's servers and the ports they listen on - Back in the step 2), notice the newly-added server in the list for the network. Now click the button next to the drop-down selection labeled to open the dialog window:
dialog window ( , if you skipped here from - Welcome to the
Because Identities are such an important concept in Konversation, this guide will now take you through adding and filling in an entirely new Identity to use with freenode before turning to adding the authentication settings. If you're already familiar with managing Identities, you can skip to step 9 now.
Note that adding a new Identity is not strictly necessary. As long as you are only using a single IRC network, just filling in the Default Identity is of course enough. But even when using multiple IRC networks, using just the Default Identity for all of them can be enough, if there is no need for any of the Identity settings to differ from network to network. However because, as we will see later, the authentication settings are part of the Identity, it is usually good practice to use separate Identities for different networks, so you can use different passwords on each network for better security. Given this, click the button next to the drop-down selection labeled to open the dialog window:
dialog window. This dialog window allows you to create and manage an unlimited number of Identities. An Identity is a way to store settings related to your person (such as your real name and nicknames) separately from the settings for a network, so you can for example reuse them for multiple different networks. It also makes it easy to switch between different Identity settings for a single network, by selecting the right Identity in the dialog window from the preceding steps or in the similar dialog window used to modify an existing network in the . For added convenience, if you open the dialog window from the dialog window as we have done here (alternatively, you can open it any time by pressing ), the Identity you are viewing at the time you press the button will be automatically selected for the network. - In the
dialog window, enter a name for the new Identity and click the button to get back to the dialog window. Note that the name "freenode" in the following screenshot is just a useful memory aid for the connection to the network; there is no need for the network and Identity name to be the same: - Back in the
dialog window, fill in the basic settings for the newly-added Identity, which has been automatically selected in the dialog (notice the drop-down selection labeled at the top of the dialog window). Entering a and adding at least one are required: - Now it's time to get to our final objective: Adding SASL authentication settings to the new Identity for use with the freenode network.
(A short interlude: For the sake of brevity, and because the best and most up-to-date documentation for the account creation process is available on freenode's own website, this guide assumes that you already have a freenode account. If you don't have an account yet, however, click now in the dialog window and then in the dialog window. You can then connect to freenode unauthenticated by selecting it in the dialog window and clicking the button at the bottom of the dialog window. Once you are connected to freenode you can follow their instructions to create an account. Once you're done, open the dialog window again (see step 1), select freenode and click the button to open the dialog window and the button again to open the dialog. Note that you will need to reconnect after adding the authentication settings to connect authenticated.)
To add SASL authentication settings to the Identity, focus on the group of settings labeled , still on the tab of the dialog window. The first step is to select in the drop-down selection labeled . Then all that's left to do is to enter your freenode account's name and password in the and fields below the drop-down selection and clicking the button to save the new Identity settings:
- Now click the button in the dialog window to save the network and get back to the dialog window.
- In the Server List dialog window you can now select freenode in the list and press the
button at the bottom of the dialog window (or double-click the entry) to connect to freenode with SASL authentication: