[Freeipa-devel] [PATCH] Use SystemRandom for better random passwords

Rob Crittenden rcritten at redhat.com
Fri Aug 8 18:47:21 UTC 2008


Simo Sorce wrote:
> While reviewing some code I realized we could do a better job at
> generating random password (and this was already implemented for one of
> our functions).
> The current code is *not* flawed, but using better methods is always a
> good thing.

ack but looks like you can remove the 'generator = 
random.SystemRandom()' as well.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080808/45021b9e/attachment.bin>


More information about the Freeipa-devel mailing list