-
Notifications
You must be signed in to change notification settings - Fork 1.2k
test: Test OTP 2FA login with FreeIPA #13321
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
Conversation
|
I ran this several times locally on fedora-31. Let's see how it fares on all the other OSes. |
|
Failed on debian-stable and ubuntu-1804, and the two others as well. This may need an extra waiting loop that sssd sees the new user from IdM. Investigating locally.. |
|
On Debian stable and the Ubuntus the login attempt already fails at the password stage. I'm trying this with ssh, easier than with cockpit: Unfortunately On debian-testing it works, so maybe this is a reasonably recent feature. So let's wait until ubuntu-stable moves over to 20.04, focal already has the latest sssd version. My gut feeling is that this is related to |
This demonstrates how to set up FreeIPA to enable two-factor authentication. On RHEL, this is the only supported method, as there is no google-authenticator package. Use HOTP instead of the default TOTP as that's more predictable for an automated test. This has worked for a long time already, but let's make sure it stays that way. Closes cockpit-project#13321
croissanne
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice :)
This demonstrates how to set up FreeIPA to enable two-factor
authentication. On RHEL, this is the only supported method, as there is
no google-authenticator package.
Use HOTP instead of the default TOTP as that's more predictable for an
automated test.
This has worked for a long time already, but let's make sure it stays
that way.