Skip to content

ssh auth support - #144

Open
odra wants to merge 1 commit into
eclipse-score:mainfrom
odra:ssh-auth
Open

odra wants to merge 1 commit into
eclipse-score:mainfrom
odra:ssh-auth

Conversation

@odra

@odra odra commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Adds a ssh_auth option for qemu.

Comment thread score/itf/plugins/qemu/qemu_target.py Outdated
Comment thread score/itf/plugins/qemu/qemu_target.py Outdated
Comment thread test/unit/test_qemu_auth.py
@@ -0,0 +1,51 @@
from types import SimpleNamespace

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Missing copyright header

Comment thread test/unit/test_qemu_auth.py Outdated
def test_resolve_ssh_auth_ok(qemu_target, username, password, pkey_path, expected):
ssh_opts = build_ssh_auth_args(password, pkey_path)

assert qemu_target._resolve_ssh_auth(username, **ssh_opts) == expected

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add message to assert on all places

Comment thread test/unit/test_qemu_config_schema.py Outdated

def test_default_ssh_auth_is_empty_root_password():
model = QemuConfigModel.model_validate(_VALID_BRIDGE_CONFIG)
assert model.ssh_auth.username == "root"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add message to assert on all places

Signed-off-by: odra <lrossett@redhat.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

3 participants