mIRC Home    About    Download    Register    News    Help

Print Thread
#264411 27/11/18 04:02 PM
Joined: Jul 2014
Posts: 308
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 308
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.

Last edited by Khaled; 27/11/18 07:11 PM.

TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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?

Joined: Jul 2014
Posts: 308
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 308
I already identified the error. It was a problem in my script. Sorry

Last edited by Tiago; 27/11/18 09:27 PM.

TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
No problem, thanks for tracking it down.

Joined: Jul 2014
Posts: 308
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 308
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?

Last edited by Tiago; 28/11/18 02:04 PM.

TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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.

Joined: Jul 2014
Posts: 308
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 308
Thanks for the clarification wink


TECO
irc.PTirc.org (Co-Admin)

Link Copied to Clipboard