Title: #5302: Allow leading/trailing whitespaces in passwords
Since PR #4709 was stale and closed, this PR fixes the issue taking into account comments
from that PR.
kwargs is redefined to Data.kwargs, which doesn't contain the restriction of no
leading/trailing whitespaces from the Str class.
Signed-off-by: Antonio Torres Moríñigo <atorresm(a)protonmail.com>
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5302/head:pr5302
git checkout pr5302