This review will be enforcing new password rules to Keystone accounts,
the new rules are:
- Minimum 12 characters
- At least 1 Uppercase letter
- At least 1 number
- At least 1 special character
- Cannot reuse past 5 passwords
Test Plan:
PASS: Run fresh install of AIO-SX with complete bootstrap and unlock
of the controller-0.
PASS: Run build-pkgs -c -p keystone.
PASS: Run build-image.
Note: The password command that I used for the next test cases is:
openstack user password set
PASS: Change password 5 times and then try to use the first password of
the sequence again to verify if it is using password history.
PASS: Try to change the password to a password without an uppercase
letter and verify if it fail.
PASS: Try to change the password to a password without a number
and verify if it fail.
PASS: Try to change the password to a password without a special
character and verify if it fail.
PASS: Try password with less than 12 character and verify if it fails.
PASS: Access account and change password using serial console.
PASS: Try a password that doesn't fit the password requirements and
verify if the error message is shown.
Story: 2011084
Task: 49824
Change-Id: Iba10465e4ea25fb6e35aa0e7b81391269cda739e
Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>