-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Updated app to support configuring the caching hash method for FIPS v2 #30675
Conversation
Nice, thanks for picking this one up! |
caching_hash_method: | ||
description: | | ||
The caching algorithm used by the webserver. Must be a valid hashlib function name. | ||
version_added: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should put 2.7.0 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless @ephraimbuddy will decide to merge in to 2.6.0 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know I wrote on slack that it is 2.7 - but on a hindsight - unless it's not too late - that one looks super safe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. I see it is missing at all :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah whoops! Let me know if I can do a fast follow up here to add 2.7.0 here @potiuk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's tag it 2.6.0. I will no longer do the RC today
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. Can you please add 2.6.0 added
PR @vchiapaikeo :)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, not a problem. PR: #30688
Created in response to a stale PR at the direction of @eladkal: #28846
This was created to address issues that occurred in a FIPS enabled environment. This allows you to set the CACHING_HASH_METHOD config value to override the default of md5. Also updates the serialized_dag hash code to work even in a FIPS environment.
Testing:
Started up breeze and ensured webserver started fine:
Inspected serialized dag dag_hash field:
Modified the hash method to sha256 and restarted breeze with this configuration in
files/airflow-breeze-config/init.sh
:Checked configuration:
Rechecked dag hash field:
Test a simple dag:
To explicit md5:
^ 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.