[BUG]连接oracle数据库时无法加密连接
SQLBot Version
1.3.0
Run Mode Is it running in a Docker container or running from source code?
Docker container
Describe the bug A clear and concise description of what the bug is.
当oracle数据库配置了强制加密连接时,在sqlbot上创建数据源进行连接时无法进行加密连接,在“额外的数据库连接配置”中添加加密参数时,报错提示无法识别参数,不强制加密连接可以连接,但是我的应用场景需要设置oracle加密连接
To Reproduce Steps to reproduce the behavior: 1.配置oracle强制加密连接,sqlnet.ora文件内容如图所示:
2.在slqbot上配置oracle数据源,连接报错如图:
3.添加加密参数“oracle.net.encryption_client=REQUIRED&oracle.net.encryption_types_client=(AES128)&oracle.net.crypto_checksum_client=REQUIRED&oracle.net.crypto_checksum_types_client=(MD5)”报错如图:
Expected behavior A clear and concise description of what you expected to happen. 希望能够提示“额外的数据库连接配置”格式,或者添加一个设置加密连接的选项配置加密连接 Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. 在1panel上安装的sqlbotV1.2.0中连接过一次oracle数据库后,oracle数据库设置为强制加密连接后,slqbot容器即便重启仍可以连接上oracle,通过安装包方式安装的V1.2.0不会出现上面情况,oracle数据库设置为加密后就无法连接了。
MD5在新的 oracle instant client 里已经弃用了,试试SHA1 或者 SHA256,例如:
好的感谢感谢,已解决