You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dheerajturaga (via GitHub)" <gi...@apache.org> on 2026/02/01 17:37:10 UTC
[PR] Fix infinite password retry loop in airflowctl EncryptedKeyring initialization [airflow]
dheerajturaga opened a new pull request, #61329:
URL: https://github.com/apache/airflow/pull/61329
The upstream keyrings.alt EncryptedKeyring prompts for a new keyring
password in an unbounded while-True loop when the keyring file does not
yet exist. The active backend is typically a ChainerBackend that wraps
EncryptedKeyring as a child, so the patch walks into .backends to find
and replace _get_new_password before keyring.set_password() can trigger
initialization. Raises AirflowCtlKeyringException after 3 attempts.
---
##### Was generative AI tooling used to co-author this PR?
<!--
If generative AI tooling has been used in the process of authoring this PR, please
change below checkbox to `[X]` followed by the name of the tool, uncomment the "Generated-by".
-->
- [ ] Yes (please specify the tool below)
ClaudeCode
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix infinite password retry loop in airflowctl EncryptedKeyring initialization [airflow]
Posted by "dheerajturaga (via GitHub)" <gi...@apache.org>.
dheerajturaga merged PR #61329:
URL: https://github.com/apache/airflow/pull/61329
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org