Skip to content

[autobackport: sssd-2-13] Smartcard multi token tests#8665

Merged
spoore1 merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8519-to-sssd-2-13
May 6, 2026
Merged

[autobackport: sssd-2-13] Smartcard multi token tests#8665
spoore1 merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8519-to-sssd-2-13

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8519 Smartcard multi token tests to branch sssd-2-13, created by @krishnavema.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot git@github.com:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8519-to-sssd-2-13
git checkout SSSD-sssd-backport-pr8519-to-sssd-2-13
git push sssd-bot SSSD-sssd-backport-pr8519-to-sssd-2-13 --force

Original commits
e5b6597 - tests: implement multi-token support for smart card authentication

Backported commits

  • 318ba3b - tests: implement multi-token support for smart card authentication

Original Pull Request Body

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces system tests for smartcard authentication scenarios involving multiple SoftHSM tokens. It includes a helper function for token setup and three test cases covering scenarios where a valid certificate is on the first token, the second token, or both. A bug was identified in the parametrized test test_smartcard__two_tokens_match_on_both, where attempting to add the same IPA user in multiple iterations would cause a failure; a suggestion was provided to use unique usernames for each iteration.

Comment thread src/tests/system/tests/test_smartcard.py

@sumit-bose sumit-bose left a comment

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.

Hi,

original and backport matches, ACK.

bye,
Sumit

@spoore1 spoore1 left a comment

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.

LGTM. Approving since code is the same and the original system tests ran on Fedora 45 which has sssd-2.13.

@spoore1 spoore1 added Accepted no-backport This should go to target branch only. labels May 6, 2026
Reviewed-by: Scott Poore <spoore@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
(cherry picked from commit e5b6597)
@sssd-bot

sssd-bot commented May 6, 2026

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @spoore1 with the following PR CI status:


🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-42-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-44-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot sssd-bot force-pushed the SSSD-sssd-backport-pr8519-to-sssd-2-13 branch from 318ba3b to 750243b Compare May 6, 2026 19:38
@spoore1 spoore1 merged commit feef761 into SSSD:sssd-2-13 May 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only. Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants