tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

api: support SSL key passwords #274

Closed DifferentialOrange closed 1 year ago

DifferentialOrange commented 1 year ago

Support ssl_password and ssl_password_file options in Connection, MeshConnection and ConnectionPool to decrypt private SSL key file. Tarantool EE supports SSL passwords and password files only in current master since commit e1f47dd4 (after 2.11.0-entrypoint) [1].

Same as in Tarantool, we try ssl_password, then each line in ssl_password_file and then try to use key without decryption. If all of the above fail, we re-raise errors.

  1. https://github.com/tarantool/tarantool-ee/issues/22

Closes #224.