URL: https://github.com/SSSD/sssd/pull/5945 Author: justin-stephenson Title: #5945: INTG: Restrict smartcard in sc auth tests Action: opened
PR body: """ Smartcard auth related tests can fail when integration tests are run on a machine(F34) with a yubikey inserted. Add a `p11_uri` option to filter only the softhsm2-used integration test cards. """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5945/head:pr5945 git checkout pr5945
From b7e1d7cf782427ed319da378f25f6d152330118c Mon Sep 17 00:00:00 2001 From: Justin Stephenson <jstep...@redhat.com> Date: Mon, 10 Jan 2022 12:37:38 -0500 Subject: [PATCH] INTG: Restrict smartcard in sc auth tests Smartcard auth related tests can fail when integration tests are run on a machine(F34) with a yubikey inserted. Add a p11_uri option to filter only the softhsm2-used integration test cards. --- src/tests/intg/test_pam_responder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/intg/test_pam_responder.py b/src/tests/intg/test_pam_responder.py index 866a79267c..db6a7e1315 100644 --- a/src/tests/intg/test_pam_responder.py +++ b/src/tests/intg/test_pam_responder.py @@ -134,6 +134,7 @@ def format_pam_cert_auth_conf(config): pam_p11_allowed_services = +pam_sss_service, +pam_sss_sc_required, \ +pam_sss_try_sc, +pam_sss_allow_missing_name pam_cert_db_path = {config.PAM_CERT_DB_PATH} + p11_uri = pkcs11:manufacturer=SoftHSM%20project;token=SSSD%20Test%20Token p11_child_timeout = 5 p11_wait_for_card_timeout = 5 debug_level = 10 @@ -164,6 +165,7 @@ def format_pam_cert_auth_conf_name_format(config): pam_p11_allowed_services = +pam_sss_service, +pam_sss_sc_required, \ +pam_sss_try_sc, +pam_sss_allow_missing_name pam_cert_db_path = {config.PAM_CERT_DB_PATH} + p11_uri = pkcs11:manufacturer=SoftHSM%20project;token=SSSD%20Test%20Token p11_child_timeout = 5 p11_wait_for_card_timeout = 5 debug_level = 10
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure