-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Add dummy Fernet key for integration tests #58112
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
Add dummy Fernet key for integration tests #58112
Conversation
c387fc5 to
043f081
Compare
|
As via slack: I think we should discuss first how we handle this not to have security side-effects |
|
Yeah. I think yeah - we should get some good agreement, but for now setting the key seem a good idea ? |
043f081 to
3df0ad5
Compare
|
Added version/tests labels. |
0a742d6 to
ef14b13
Compare
ef14b13 to
6f4db09
Compare
…from environment variable
6f4db09 to
faf79d2
Compare
jscheffl
left a comment
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.
For me this looks good now!
Even once merged could we still start re-considering dropping the NullFernet? (Otherwise print a BIIIIG Banner if used...
___________________
< Big Banner, yeah! >
-------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
|
I agree. We should definitely have it where we can for sure reconsider. I will nudge people for another round and will start a lazy consensus on it while creating those follow-ups :) |
* Add dummy Fernet key for integration tests * dynamic fernet key generation from devel-common * Add pyyaml dependency and update YAML loading method in fernet.py * Revert integration test changes * Update integration tests to use always the same generated Fernet key from environment variable
* Add dummy Fernet key for integration tests * dynamic fernet key generation from devel-common * Add pyyaml dependency and update YAML loading method in fernet.py * Revert integration test changes * Update integration tests to use always the same generated Fernet key from environment variable
* Add dummy Fernet key for integration tests * dynamic fernet key generation from devel-common * Add pyyaml dependency and update YAML loading method in fernet.py * Revert integration test changes * Update integration tests to use always the same generated Fernet key from environment variable
^ 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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.