Welcome, Guest. Please Login or Register.
April 27, 2025, 07:44:01 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Discontinued 1.5.1RC1] Md5 Encryption « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: [Discontinued 1.5.1RC1] Md5 Encryption  (Read 5399 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
[Discontinued 1.5.1RC1] Md5 Encryption
« on: March 14, 2003, 02:37:29 AM »
Reply with quote

http://gbaetc.homeip.net/yypack/md5_encryption.mod
http://gbaetc.homeip.net/yypack/md5_encryption.zip
http://gbaetc.homeip.net/yypack

This modification will seemlessly upgrade the password encryption to md5 by waiting until you log in to actually change it in the database.  This may provide better security.

I strongly reccommend you change your cookiename after applying this.  (because people have to login for it to take effect... changing the cookie will force them to.)

Note: As of the latest release, members will NOT be able to modify their profiles without first logging out and then in again.  Because of this, I STRONGLY urge you to change your cookiename to a different alphanumeric value after installing this mod.

-[Unknown]
« Last Edit: April 05, 2003, 04:54:50 PM by [Unknown] » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1] Md5 Encryption
« Reply #1 on: March 14, 2003, 02:46:10 AM »
Reply with quote

remember guys, no weird characters in cookies (including dots -> '.') :)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #2 on: March 14, 2003, 05:04:11 AM »
Reply with quote

Update:  Now you don't get logged out when you change your password.

-[Unknown]
Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #3 on: March 14, 2003, 07:52:06 AM »
Reply with quote

Does it matter if cookies are enabled/disabled or if caching is enabled/disabled?


Quote from: [Unknown] on March 14, 2003, 02:37:29 AM
http://gbaetc.homeip.net/yypack/md5_encryption.mod
http://gbaetc.homeip.net/yypack/md5_encryption.zip
http://gbaetc.homeip.net/yypack

This modification will seemlessly upgrade the encryption to md5 by waiting until you log in to actually change it in the database.  This may provide better security.

I strongly reccommend you change your cookiename after applying this.  (because people have to login for it to take effect... changing the cookie will force them to.)

-[Unknown]
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #4 on: March 14, 2003, 08:03:29 AM »
Reply with quote

This only encrypts your login password.  Therefore, it is as dependent on cookies as being able to login is.

I'll clarify that in the main description....

-[Unknown]
Logged
Tenkoy
Jr. Member
**
Posts: 76


WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #5 on: March 14, 2003, 11:08:56 AM »
Reply with quote

Okay, I have tested this on my forum, which was just upgraded to RC45, but when I try to change my profile after using this, it says my password is invalid. But yet, I can login.
« Last Edit: March 14, 2003, 11:09:22 AM by Tenkoy » Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #6 on: March 14, 2003, 11:14:03 AM »
Reply with quote

Same here. password invalid.
Logged

Tenkoy
Jr. Member
**
Posts: 76


WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #7 on: March 14, 2003, 11:15:25 AM »
Reply with quote

I think it is something that we did, because for some reason, my members CAN edit their profiles, yet I can not.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #8 on: March 14, 2003, 11:15:47 AM »
Reply with quote

Profile.php:


<search for>
      if (!trim($member['oldpasswrd']))
         fatal_error($txt[yse243] . ' ' . $txt[yse244]);
      if ($settings[0] != crypt($member['oldpasswrd'], substr($member['oldpasswrd'], 0, 2)))
         fatal_error($txt[yse242]);
</search for>

<replace>
      if (!trim($member['oldpasswrd']))
         fatal_error($txt[yse243] . ' ' . $txt[yse244]);
      if ($settings[0] != md5($member['oldpasswrd']))
         fatal_error($txt[yse242]);
</replace>


For some reason I didn't copy that change over.  Arg, I hate it when I do that.

Added to the current version.

-[Unknown]
« Last Edit: March 14, 2003, 11:26:55 AM by [Unknown] » Logged
Tenkoy
Jr. Member
**
Posts: 76


WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #9 on: March 14, 2003, 11:25:35 AM »
Reply with quote

Parse Error on Profile.php on line 495


Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #10 on: March 14, 2003, 11:28:20 AM »
Reply with quote

That should teach me to mess with things at 3:30 am.

Fixed.

Edit: I also forgot Reminder, but that's fixed now too.  (and wouldn't have actually mattered.)

-[Unknown]
« Last Edit: March 14, 2003, 11:36:51 AM by [Unknown] » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #11 on: March 16, 2003, 07:01:42 PM »
Reply with quote

To make a clarification, as someone asked about this code...

This code is completely original, and not based off of any other code or forum software.  I wrote it myself, and hold full copyrights to it.

However, I will say that this is an issue that was brought up by another person.  I was asked by Omar to make this, and so I did.

Many thanks to him for the idea.  I think he got it from somewhere... but I just wrote it for him.

I did use a method similar to that of another forum software, but I think that is of little concern; the similarity is small, and I in no way based my code off of that other forum.

-[Unknown]
Logged
Silicon-Surge
Noobie
*
Posts: 11


c:&gtdeltree /windows/*.* /f

Re:[Done 1.5.1] Md5 Encryption
« Reply #12 on: March 30, 2003, 11:55:30 AM »
Reply with quote

Do the all Users Need to reset their passwords ?
Logged

You suck I rule get over it ;)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1] Md5 Encryption
« Reply #13 on: March 30, 2003, 07:27:05 PM »
Reply with quote

no they dont
the mod first checks the password with md5, if that doesnt work, it checks with the previous crypt function, then if the password is correct it converts it to md5
so users wont feel anything at all
u can reset your cookies after applying the mod, so all of the users will have to re-login ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
bostasp
Jr. Member
**
Posts: 62


WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #14 on: March 30, 2003, 07:59:44 PM »
Reply with quote

As i've just found out, if you apply this to your board and keep the database when you re-install, you have to apply this mod again before any users can login
Logged

Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Discontinued 1.5.1RC1] Md5 Encryption « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.103 seconds with 16 queries.