Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: Check the TGT of user after auth for passkey #7393

Closed
wants to merge 1 commit into from

Conversation

madhuriupadhye
Copy link
Contributor

@madhuriupadhye madhuriupadhye commented May 23, 2024

Add the test case of passkey where we are checking
TGT of user after successful auth with IPA server.

Also add the fixture to update the [email protected]
file from server to make sure umockdev-run authenticate
the user without showing data mismatch error.

@spoore1
Copy link
Contributor

spoore1 commented May 23, 2024

I ran a manual test with sssd-2.10 installed and it worked but, I still had to modify the IPA container's [email protected] file to add:

Environment=LD_PRELOAD=/opt/random.so

Is there already a PR in the works to handle that?

@madhuriupadhye madhuriupadhye force-pushed the check_klist_tgt branch 2 times, most recently from 1e4d775 to c6cc2ad Compare May 24, 2024 10:35
Copy link
Contributor

@spoore1 spoore1 left a comment

Choose a reason for hiding this comment

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

LGTM. Just to remove the commented restore in umockdev_ipaotpd_update().

src/tests/system/tests/test_passkey.py Outdated Show resolved Hide resolved
@madhuriupadhye madhuriupadhye force-pushed the check_klist_tgt branch 3 times, most recently from b66c8ef to 2515543 Compare June 3, 2024 14:14
Copy link
Contributor

@justin-stephenson justin-stephenson left a comment

Choose a reason for hiding this comment

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

Ack.

src/tests/system/tests/test_passkey.py Outdated Show resolved Hide resolved
src/tests/system/tests/test_passkey.py Show resolved Hide resolved
Copy link
Contributor

@spoore1 spoore1 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ikerexxe ikerexxe left a comment

Choose a reason for hiding this comment

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

LGTM!

@madhuriupadhye madhuriupadhye added Waiting for review backport-to-stable passkey Issues and PRs related to 'passkey' feature labels Jun 6, 2024
def umockdev_ipaotpd_update(ipa: IPA, request: pytest.FixtureRequest):
"""
Update the [email protected] file from ipa server
for umockdev
Copy link
Member

Choose a reason for hiding this comment

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

Can you add more information here about why is this needed and when it is needed? I'm pretty sure we will forget it sooner or later. Otherwise ack!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay, let me add more, I may not forget but good to have more details description. Thank you!

Add the test case of passkey where we are checking
TGT of user after successful auth with IPA server.

Also add the fixture to update the [email protected]
file from server to make sure umockdev-run authenticate
the user without showing data mis match error.

Signed-off-by: Madhuri Upadhye <[email protected]>
@pbrezina
Copy link
Member

pbrezina commented Jun 7, 2024

Pushed PR: #7393

  • master
    • 4e0b648 - Test: Check the TGT of user after auth for passkey

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Jun 7, 2024
@pbrezina pbrezina closed this Jun 7, 2024
@pbrezina
Copy link
Member

pbrezina commented Jun 7, 2024

There was a conflict in sssd-2-9. Please, open a standalone pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
passkey Issues and PRs related to 'passkey' feature Pushed Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants