Skip to content
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

Allows to choose SSL context for SMTP connection #33070

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Aug 3, 2023

This change add two options to choose from when SSL SMTP connection is created:

  • default - for balance between compatibility and security
  • none - in case compatibility with existing infrastructure is preferred

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk added this to the Airflow 2.7.0 milestone Aug 3, 2023
This change add two options to choose from when SSL SMTP connection
is created:

* default - for balance between compatibility and security
* none - in case compatibility with existing infrastructure is
  preferred
Copy link
Member

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, but not enough experience with SSL, certificates or SMTP, sorry cannot add insights or ensure much here :)

@potiuk potiuk merged commit 120efc1 into apache:main Aug 3, 2023
41 of 42 checks passed
@potiuk potiuk deleted the add-default-context-to-smtp branch August 3, 2023 14:27
ephraimbuddy pushed a commit that referenced this pull request Aug 3, 2023
This change add two options to choose from when SSL SMTP connection
is created:

* default - for balance between compatibility and security
* none - in case compatibility with existing infrastructure is
  preferred

(cherry picked from commit 120efc1)
potiuk added a commit to potiuk/airflow that referenced this pull request Aug 4, 2023
The previous changes apache#33070 and apache#33108 added configuration parameters
to allow "ssl_context" to be configured "per installation of airflow".

The ssl_context extras allow to override the system-wide setting with
extras configured per-connection.
eladkal pushed a commit that referenced this pull request Aug 4, 2023
…ons (#33112)

The previous changes #33070 and #33108 added configuration parameters
to allow "ssl_context" to be configured "per installation of airflow".

The ssl_context extras allow to override the system-wide setting with
extras configured per-connection.
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants