From 42edf9af42c32e13c54f4fc489479d8ca64468a6 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Tue, 5 May 2026 16:18:26 +0200 Subject: [PATCH] Fix IPA passkey feature detection Replace `ipa help user | grep user-add-passkey` with direct command test `ipa user-add-passkey --help` to avoid terminal environment issues when running in SSH sessions without proper TTY allocation. Signed-off-by: Iker Pedrosa --- sssd_test_framework/hosts/ipa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sssd_test_framework/hosts/ipa.py b/sssd_test_framework/hosts/ipa.py index 53f004c0..3449bfd3 100644 --- a/sssd_test_framework/hosts/ipa.py +++ b/sssd_test_framework/hosts/ipa.py @@ -86,7 +86,7 @@ def features(self) -> dict[str, bool]: set -ex [ -f "/usr/libexec/sssd/passkey_child" ] && \ - ipa help user | grep user-add-passkey 1> /dev/null && \ + ipa user-add-passkey --help >/dev/null 2>&1 && \ echo "passkey" || : """, log_level=ProcessLogLevel.Error,