Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Recover Password [With MD5 enc type] ?  (Read 7089 times)

0 Members and 1 Guest are viewing this topic.

carlcox89

  • Guest
Recover Password [With MD5 enc type] ?
« on: May 28, 2007, 02:55:42 PM »

hi...

i would like to know how can a user recover his password, when MD5 enc_type is enabled...
i dunno if its already on anope... but a possible way could be
//ns recoverpass nick email
services compare the email and nick if its true
services send an email to user with a new random pass... is this possible ?

setting a password for every user that forgots his... :/
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: May 28, 2007, 03:03:55 PM »

At present the only way would be for the user to ask an oper with sufficiant access to services to use "/ns saset NICK password NEWPASSWORD"
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

carlcox89

  • Guest
(No subject)
« Reply #2 on: May 28, 2007, 03:47:21 PM »

:/ but is possible to do a module that users can recover their passwords by the way i said ?
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #3 on: May 28, 2007, 04:19:01 PM »

It is possible for a module to be written, but at present there isnt such a module.

One point to note though is it would have to reset the password since MD5 is irreversable.

And then the problem there is, all you need is to find out what email a user used for their nick and you can lock them out of their nick until they read their email. So a reset feature would need to use a comfirmation code system. Where for example you say type /ns resetpass NICK EMAIL, an email is then sent with a comfirmation code which you would then type in and then finally another email is sent with the new password. Making sure the password isnt actually changed til after the comfirmation code is entered.

[Edited on 28-5-2007 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

carlcox89

  • Guest
(No subject)
« Reply #4 on: May 30, 2007, 12:45:42 PM »

yeah thats what i was talking about :P
let see if someone makes that module :D
Logged

Gabriel Acevedo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 102
    • http://faltanideas.com/
(No subject)
« Reply #5 on: August 24, 2007, 05:33:12 AM »

I wrote a module which could be useful for you.

http://modules.anope.org/viewmod.php?id=108
Logged

SNU

  • Anope User
  • Offline Offline
  • Posts: 158
    • http://www.firstclassirc.com
(No subject)
« Reply #6 on: August 24, 2007, 01:08:13 PM »

THnks Dr.Stein. But I have a Problem: It seems not to work as exspected :/

(14:00:05) —› msg (NickServ) ENTERCODE PeSSUAsSt
(14:00:05)   (NOTICE) from (NickServ) Passwort changed to . (IRC)

So the eMail gets sent the entercode works but you don't get the changed password it stays empty :D
So it has a bug. But its nice.

maybe its because I use 1.7.19 "beta" not from svn?

(btw Certus has a similar one, that provides the new password but does a segfault to my services)


[Bearbeitet am 24-8-2007 von SNU]
Logged

Gabriel Acevedo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 102
    • http://faltanideas.com/
(No subject)
« Reply #7 on: August 24, 2007, 02:17:54 PM »

hrmm.. I know the cause of that.
Will fix in a moment.
Logged

Gabriel Acevedo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 102
    • http://faltanideas.com/
(No subject)
« Reply #8 on: August 24, 2007, 04:08:39 PM »

Fixed in release 1.1.0.

Also, added a few new features.
Logged
Pages: [1]   Go Up