Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mysql-test/r/oauth_auto_create.result
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
call mtr.add_suppression("Authentication requires either RSA keys or SSL encryption");
#
# Install and configure the verification key + issuer. auto_create is OFF
# by default.
Expand Down
10 changes: 10 additions & 0 deletions mysql-test/t/oauth_auto_create.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
--source include/not_windows.inc
--source oauth_fixtures.inc

# In case (1) below (auto_create OFF + unknown account), the server routes the
# login to its anti-enumeration decoy path, which assigns a RANDOM built-in auth
# plugin to the phantom account. When that plugin is one of the SHA-2 password
# plugins, it logs MY-011248 ("Authentication requires either RSA keys or SSL
# encryption") because the test connects without TLS and no RSA keys are set up.
# The line is an expected artifact of the decoy path (not the vsql_oauth2
# method), and which plugin gets picked is nondeterministic across platforms, so
# suppress it -- the durable assertion is that the account was NOT created.
call mtr.add_suppression("Authentication requires either RSA keys or SSL encryption");

--let $pubkey= $autocreate_pubkey
--let $token= $autocreate_valid

Expand Down
Loading