Skip to content

fix: Temporarily disable host password decryption in create_host_from…#9

Merged
mchromin merged 2 commits into
mainfrom
encode_fix
May 19, 2026
Merged

fix: Temporarily disable host password decryption in create_host_from…#9
mchromin merged 2 commits into
mainfrom
encode_fix

Conversation

@adrianlasota
Copy link
Copy Markdown
Contributor

This pull request makes minor adjustments related to password handling in the pytest_mfd_config/fixtures.py file. The main changes involve temporarily disabling host password decryption and clarifying the handling of password fields in connection options.

Password handling adjustments:

  • Commented out the call to _decrypt_host_password in the create_host_from_model function, with a note to fix host password decryption in the future.
  • Added a comment in the _has_secret_password_fields function to clarify that password fields are always SecretStr from the model's perspective, even if not encrypted.

…_model

Signed-off-by: Lasota, Adrian <adrian.lasota@intel.com>
Copilot AI review requested due to automatic review settings May 19, 2026 14:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Temporarily disables host password decryption during host creation and adds clarifying comments about how password fields are represented in connection options.

Changes:

  • Commented out _decrypt_host_password() in create_host_from_model().
  • Added TODO comments clarifying that password fields appear as SecretStr from the model’s perspective even when not encrypted.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pytest_mfd_config/fixtures.py
Comment thread pytest_mfd_config/fixtures.py
Comment thread pytest_mfd_config/fixtures.py
mchromin
mchromin previously approved these changes May 19, 2026
Signed-off-by: Lasota, Adrian <adrian.lasota@intel.com>
@mfd-intel-bot
Copy link
Copy Markdown
Contributor

We don't publish DEVs .whl.
To build .whl, run 'pip install git+https://github.com/intel/pytest-mfd-config@encode_fix'

@mchromin mchromin merged commit 13ce93b into main May 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants