URL: https://github.com/freeipa/freeipa/pull/317
Title: #317: Unify password generation across FreeIPA

mbasti-rh commented:

You replaced os.random() by ipa_generate_password, but ipa_generate password 
does not generate random bytes but random printable characters (entropy--) so 
you have to recalculate a new password length accordingly or edit 
ipa_generate_password function to generate random bytes.

Also I noticed you removed base64encoding, are you sure that places where it 
was used can handle all bytes characters (nonprintable, etc)? I would stay with 
base64 there.

See the full comment at 
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to