← Back to team overview

dhis2-devs team mailing list archive

Re: Password Generation

 

Here are some documents that Randy Wilson shared on the list - though they
state for  "Hashpassword: we have not yet found a quicker way to do this
than to send the excel file to Bob Jolliffe or Knut Staring (HISP).  There
is a special algorithm they use to create the MD5 hash password, combining
the username and the assigned text password." Unfortunately I don't
remember exactly how I used to do it...would be good if you share a how to
when you figure it out...


On Thu, Mar 20, 2014 at 7:42 AM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:

> Hi Kenneth,
>
> You must look at the source code of DHIS2 and Spring in order to
> understand it. It is not a simple hash, but a salted hash depending on the
> username and password together. This has been previously discussed on this
> list, but it is most clear by analyzing the source code.
>
> Best regards,
> Jason
>
>
>
> On Thu, Mar 20, 2014 at 5:39 PM, Kenneth Børtveit <
> kenneth.bortveit@xxxxxxxxx> wrote:
>
>> Hi.
>>
>> I am trying to generate passwords to almost 45,000 users in Rwanda.
>> There is no problem in generating a random sequence of characters, the
>> problem is storing it in a database.
>>
>> The password is stored as a hash, but I don't know which hash function to
>> use.
>>
>> Could anybody assist?
>>
>> -Kenneth
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Attachment: template for importing users.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Attachment: importing users into DHIS-2.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document


Follow ups

References