• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling Password Encryption

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Is there any easy way to avoid jForum not encrypting user's passwords. Is there any option in configuration/properties file where I can change it.

Currently it is using MD5 encryption, correct me if I am wrong.

Many Thanks,

Iqbal



[originally posted on jforum.net by iqbal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, MD5.
There are no option.

P.S. Why u need it???
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, because I wanted to make a simple class which will add users to jforum_users at the same time when they register in my webapp, this way I can use sso and display their name in jForum rather thn the dummy Annonymous name being displayed.

I use in one of my webapp SHA1, but havent seen any significance to it.


Regards,


Iqbal
[originally posted on jforum.net by iqbal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already change MD5 to SHA512 (in forum) and use same table for users in forum and in my app.
I can to post diff file, and my SHA512 encription util functions.
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh Thats great, i probably will end up configuring sso to some advance level but still struggling.
[originally posted on jforum.net by iqbal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also u must increase user_password column to 128 bytes in table jforum_users and run SQL script:
UPDATE jforum_users SET user_password=c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec WHERE user_id=2

Then u can login as admin with password admin.
[originally posted on jforum.net by VVD]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic