According to the installation guide [1], the support for "sha256_password" or "caching_sha2_password" for authentication is optional. This change makes it optional for the OpenWrt package by providing a build option to enable it. By default it won't be enabled, and packages can choose to enable it. [1] https://pymysql.readthedocs.io/en/latest/user/installation.html Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
11 lines
339 B
Text
11 lines
339 B
Text
menu "Configuration"
|
|
depends on PACKAGE_python3-pymysql
|
|
|
|
config PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT
|
|
bool "Enable support for SHA password authentication"
|
|
help
|
|
To use “sha256_password” or “caching_sha2_password” for authentication
|
|
this symbol needs to be enabled, to also install python3-cryptography.
|
|
default n
|
|
|
|
endmenu
|