Re: Password Generator

2006-07-12 Thread Tim
Thanks Felix. This works great. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to

Re: Password Generator

2006-07-12 Thread Scott McCracken
Felix Ingram wrote: > I've put the above on the wiki > (http://code.djangoproject.com/wiki/AdminApplication) which is off the > common pitfalls page. Felix - many thanks for the great explination. This is exactly what I was looking for. --~--~-~--~~~---~--~~ You

Re: Password Generator

2006-07-12 Thread Jyrki Pulliainen
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > On 7/12/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote: > > > > On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > > > salt = sha.new(str(random.random())).hexdigest()[:5] > > > > Dunno is this really a developer question, but is there

Re: Password Generator

2006-07-12 Thread Felix Ingram
On 7/12/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote: > > On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > > salt = sha.new(str(random.random())).hexdigest()[:5] > > Dunno is this really a developer question, but is there really a point > using sha there? That one could be done without

Re: Password Generator

2006-07-12 Thread Jyrki Pulliainen
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > salt = sha.new(str(random.random())).hexdigest()[:5] Dunno is this really a developer question, but is there really a point using sha there? That one could be done without sha too using random.getrandbits(bits), eg.: ('%x' %

Re: Password Generator

2006-07-12 Thread Felix Ingram
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > On 7/12/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > So whack the following into a script or type it into a interactive session > > import sha, random > raw_password = script though)> > algo = 'sha1' > salt =

Re: Password Generator

2006-07-12 Thread Felix Ingram
e've > > added extra security to the stored passwords in Django's authentication > > system. Thanks to a patch from GomoX, passwords are now stored with a > > salt and use SHA-1 encryption instead of MD5." > > > > If anyone could shed some light on a SHA-1 password gener

Re: Password Generator

2006-07-11 Thread Scott McCracken
SHA-1 encryption instead of MD5." If anyone could shed some light on a SHA-1 password generator it would be much appreciated. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Password Generator

2006-07-11 Thread Tim
I'm pretty new at this Django stuff and I really like using the free Admin except for creating new users because it's difficult to create passwords. Is there anyone out there interested in building a "Django Password Generator" -- a utility to create the string for inserting new users?