fallintoplace opened a new pull request, #70858: URL: https://github.com/apache/airflow/pull/70858
The async SFTP hook only read the legacy `passphrase` connection extra because its condition always evaluated to that key. As a result, encrypted private keys configured with the documented `private_key_passphrase` extra could not be imported. This accepts the documented extra while preserving the existing `passphrase` behavior and precedence, matching the async SSH hook. The regression test verifies that the configured passphrase is passed when importing a private key. --- ##### Was generative AI tooling used to co-author this PR? - [ ] Yes (please specify the tool below) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
