Title: #317: Unify password generation across FreeIPA
The passwords should have around the same entropy now. SHA-1 actually produces
160bit outputs (hence 40-characters long hexadecimal digests), so I recounted
it for 20-bytes entropy.
As ipa_generate_password creates passwords of only printable characters (and a
space) by default, base64 should not be a requirement here. However, a space
could be a problem somewhere I guess, should it be removed as well from the
defaul behavior of the password generator?
See the full comment at
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code