mIRC Homepage
Posted By: TECO Authentication Method - 27/11/18 04:02 PM
In the server definitions if we have defined the authentication method, for example: Nickserv (/ NICKSERV), but we do not put any password, in the server.ini file it is saved like this:

Code:
n152 = Random ServerSERVER: irc.ptirc.org: 6697:encodedpasswordGROUP: PTirc


But when we connect to the server, NickServ assumes this: encodedpassword as the nickname password.

Code:
16:00 ... (NickServ) This nickname is registered and protected. If it is your
16:00 ... (NickServ) nick, type / msg NickServ IDENTIFY password. Otherwise,
16:00 ... (NickServ) please choose a different nick.
16:00 ... (NickServ) If you do not change within 1 minute, I will change your nick.
16:00 ... (NickServ) Password incorrect.
Posted By: Khaled Re: Authentication Method - 27/11/18 07:17 PM
Thanks for your bug report. I have not been able to reproduce this issue so far. I tested this with the latest beta using these steps:

1) Create a new server in the servers dialog.
2) Specify either of the NickServ options as the Login Method.
3) Leave the password editbox below it empty.
4) Click the OK button to save the server.

Once I have added the server, I click the Select button and then click the Connect button in the Options dialog. mIRC connects without sending a nickserv logon request.

If you follow the above steps, can you reproduce this issue?

Anyone else able/unable to reproduce this issue?
Posted By: TECO Re: Authentication Method - 27/11/18 08:49 PM
I already identified the error. It was a problem in my script. Sorry
Posted By: Khaled Re: Authentication Method - 28/11/18 08:48 AM
No problem, thanks for tracking it down.
Posted By: TECO Re: Authentication Method - 28/11/18 02:03 PM
Khaled, I just need you to help me understand this method.

In the Servers.ini file when I add a server and select an authentication method (/NICKSERV), the Servers.ini file is written like this:

Code:
n152=Random ServerSERVER:irc.ptirc.org:6697:nkYg2uaWBjnDx1spA5Rpqg==GROUP:PTirc

But if the authentication method is removed, the servers.ini file is written like this:
Code:
n152=Random ServerSERVER:irc.ptirc.org:6697GROUP:PTirc

I need to understand what this is: nkYg2uaWBjnDx1spA5Rpqg==

If I did not put a password, what does that mean?
Posted By: Khaled Re: Authentication Method - 28/11/18 05:40 PM
This is the format that is used to save the server login method along with the password, if any. As requested by users many times over the years, the server password is encoded in servers.ini. When support for login methods was added, the format was changed to include this information, so it is stored in the encoded information as well. The format may be changed yet again in future to support newer login/password method/format combinations.
Posted By: TECO Re: Authentication Method - 28/11/18 09:39 PM
Thanks for the clarification wink
© mIRC Discussion Forums