-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow direct SSL connection over STARTTLS #923
Conversation
@elprans would you mind approving the tests workflow for me? Thanks so much! :) |
Looks good, please fix test failures. Thanks! |
@elprans updated tests, can you re-run them and see if that fixes them all? Thanks :) |
@elprans sorry about that, didn't see the whitespace errors. Should be resolved now. |
@elprans awesome, looks like the tests are happy! If this is good to get merged, when would the next release be so that pypi could pickup the new changes? |
I'll look into making a release this or next week. |
@elprans any update on the Thanks again for all the help on this! Let me know if there is anything else I can help with. |
Changes ------- * Add support to use awaitable object in password function. (#889) (by @kwarunek in fb3b6bf for #889) * Support direct TLS connections (i.e. no STARTTLS) (#923) (by @jackwotherspoon in f2a937d for #923) Fixes ----- * Fix invalid `pyproject.toml` (#900) (by @Rongronggg9 in eddb649 for #900) * Add record_class parameter Pool.fetch and Pool.fetchrow (#896) (by @baltitenger in 2519cf3 for #896) * Domain basetypes are introspected (#886) (#887) (by @QuantumTM in cca4a2d for #886) * Properly handle exceptions raised while handling server auth messages (#862) (by @elprans in bd19262 for #862)
Changes ------- * Add support to use awaitable object in password function. (#889) (by @kwarunek in fb3b6bf for #889) * Support direct TLS connections (i.e. no STARTTLS) (#923) (by @jackwotherspoon in f2a937d for #923) Fixes ----- * Fix invalid `pyproject.toml` (#900) (by @Rongronggg9 in eddb649 for #900) * Add record_class parameter Pool.fetch and Pool.fetchrow (#896) (by @baltitenger in 2519cf3 for #896) * Domain basetypes are introspected (#886) (#887) (by @QuantumTM in cca4a2d for #886) * Properly handle exceptions raised while handling server auth messages (#862) (by @elprans in bd19262 for #862)
Changes ------- * Add support to use awaitable object in password function. (#889) (by @kwarunek in fb3b6bf for #889) * Support direct TLS connections (i.e. no STARTTLS) (#923) (by @jackwotherspoon in f2a937d for #923) Fixes ----- * Fix invalid `pyproject.toml` (#900) (by @Rongronggg9 in eddb649 for #900) * Add record_class parameter Pool.fetch and Pool.fetchrow (#896) (by @baltitenger in 2519cf3 for #896) * Domain basetypes are introspected (#886) (#887) (by @QuantumTM in cca4a2d for #886) * Properly handle exceptions raised while handling server auth messages (#862) (by @elprans in bd19262 for #862)
Adding direct_tls param that when equal to True alongside the ssl param being set to a ssl.SSLContext will result in a direct SSL connection being made, skipping STARTTLS implementation. Closes MagicStack#906
Adding
direct_tls
param that when equal toTrue
alongside thessl
param being set to assl.SSLContext
will result in a direct SSL connection being made, skipping STARTTLS implementation.Closes #906