## ## WL#14281 had introduced configurable digest rounds. ## ## This test covers the behavior introduced by WL#14281 ## on X plugin authentication. ## ## Please note that variable 'caching_sha2_password_digest_rounds' ## should be "set" to change the default behavior for stmt like: ## ## * SET PASSWORD="XYZ" ## * ALTER USER USER() IDENTIFIED BY 'XYZ'; # ## Preamble --source include/xplugin_preamble.inc --source include/xplugin_create_user.inc ## Test case description: # note: 'password handling': # # * create account with password # * change account password --echo --echo --echo ## I. Verify that password hashes created with default digest-rounds --echo ## can be used with X Plugin & X Client --echo # --echo # 1. Show that accounts original credentials are working, --echo # change accounts credentials using (set password, alter user). --echo # 2. Show that old credentials doesn't work. --echo # 3. Show that new credentials are working. --echo # --echo ## II. Verify that password hashes created with default digest-rounds --echo ## and changed with new digest-rounds can be used with X Plugin & X Client --echo # 1. Change servers digest-rounds --echo # 2. Show that accounts original credentials are working, --echo # change accounts credentials to generate a password-hash using new --echo # digest-rounds (set password, alter user). --echo # 3. Show that old credentials doesn't work. --echo # 4. Show that new credentials are working. --echo # --echo # --let $test_group=I --source ../include/test_caching_sha2_password_digest_rounds.inc --let $test_group=II --let $test_restart_with_different_digest=1 --source ../include/test_caching_sha2_password_digest_rounds.inc ## Cleanup --source ../include/xplugin_cleanup.inc