User password encryption format in abyss.conf

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
JoeWest
-


Joined: 17 Aug 2003
Posts: 6

PostPosted: Thu Aug 28, 2003 5:39 pm    Post subject: User password encryption format in abyss.conf Reply with quote

Hi,

The reason for my question is that I would like to write a program that sits on my server and changes the user passwords on a regular basis.

To do this I need to know the encryption format you use!

I do understand if you are not willing to provide this information fo security reasons.

Regards
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Aug 29, 2003 3:06 pm    Post subject: Re: User password encryption format in abyss.conf Reply with quote

There are no security issue with the encryption we use since it is a one way encryption algorithm (not reversible).

The encrypted passwords are made using the MD5 hash algorithm and BASE64 encoding. Here is how we compute them:

Encrypted-password = MD5( BASE64(username & ":" & password) )

& is the string concatenation operator. So if a user name is "jack" and its
password is "theripper" the encrypted password is MD5( BASE64("jack:theripper")).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
ArmyboyMineNu
-


Joined: 16 Oct 2003
Posts: 2

PostPosted: Tue Feb 10, 2004 1:24 am    Post subject: Reply with quote

Does anyone know a script which will add encrypted passwords to the proper place in the config file automatically. I'm a noob at programing in perl and this is WAY past my level of knowledge. I do realize that a restart of the web-server will be required before the additions were affective, but I think I could take care of that issue.

I guess I'm just looking for a snippit I could modify for my own use. Thanks for all your help.

Armyboy
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Tue Feb 10, 2004 1:45 am    Post subject: Reply with quote

http://www.aprelium.com/forum/viewtopic.php?t=3105&highlight=md5

Should get you started - the PHP is there, just have it add the usernames to abyss.conf in the right place...
Back to top View user's profile Send private message
ArmyboyMineNu
-


Joined: 16 Oct 2003
Posts: 2

PostPosted: Tue Feb 10, 2004 11:27 pm    Post subject: Reply with quote

unfortunately that's more then a -little- past my skill-range :-(
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group