Bug #90947 | "show create user" and "create user" to work with hex strings for auth data | ||
---|---|---|---|
Submitted: | 21 May 2018 5:59 | Modified: | 22 Mar 2019 16:33 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Security: Privileges | Severity: | S4 (Feature request) |
Version: | 8.0.11 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 May 2018 5:59]
Shane Bester
[22 Mar 2019 16:33]
Paul DuBois
Fixed in 8.0.17. Password hash values displayed in the IDENTIFIED WITH clause of output from SHOW CREATE USER may contain unprintable characters that have adverse effects on terminal displays and in other environments. Enabling the new print_identified_with_as_hex system variable causes SHOW CREATE USER to display such hash values as hexadecimal strings rather than as regular string literals. Hash values that do not contain unprintable characters still display as regular string literals, even with this variable enabled. For compatibility with this change, CREATE USER and ALTER USER now accept hash values specified either as regular string literals or as hexadecimal strings.