mIRC Home    About    Download    Register    News    Help

Topic Options
#264411 - 27/11/18 04:02 PM Authentication Method
Tiago Offline
Babel fish

Registered: 05/07/14
Posts: 79
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.


Edited by Khaled (27/11/18 07:11 PM)
_________________________
TECO
PTnet (Portugal)

Top
#264413 - 27/11/18 07:17 PM Re: Authentication Method [Re: Tiago]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4295
Loc: London, UK
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?

Top
#264415 - 27/11/18 08:49 PM Re: Authentication Method [Re: Khaled]
Tiago Offline
Babel fish

Registered: 05/07/14
Posts: 79
I already identified the error. It was a problem in my script. Sorry


Edited by Tiago (27/11/18 09:27 PM)
_________________________
TECO
PTnet (Portugal)

Top
#264428 - 28/11/18 08:48 AM Re: Authentication Method [Re: Tiago]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4295
Loc: London, UK
No problem, thanks for tracking it down.

Top
#264434 - 28/11/18 02:03 PM Re: Authentication Method [Re: Khaled]
Tiago Offline
Babel fish

Registered: 05/07/14
Posts: 79
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?


Edited by Tiago (28/11/18 02:04 PM)
_________________________
TECO
PTnet (Portugal)

Top
#264435 - 28/11/18 05:40 PM Re: Authentication Method [Re: Tiago]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4295
Loc: London, UK
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.

Top
#264438 - 28/11/18 09:39 PM Re: Authentication Method [Re: Khaled]
Tiago Offline
Babel fish

Registered: 05/07/14
Posts: 79
Thanks for the clarification wink
_________________________
TECO
PTnet (Portugal)

Top