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

support optional TOTP for authentication (try 2) #27

Draft
wants to merge 1 commit into
base: opensuse-322
Choose a base branch
from

Conversation

JanZerebecki
Copy link
Member

It requires a pam_oath in a version that implements the no_usersfile_okay argument. Provisionally using 2.6.12 as a version, the patch is not yet merged upstream, but this would be the next upstream version. Patch:
https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/42

pam_oath should be enabled in the cockpit pam config by appending:

auth [user_unknown=ignore success=ok] pam_oath.so usersfile=${HOME}/.pam_oath_usersfile no_usersfile_okay window=20 digits=6

(cherry picked from commit 09b06fd) Thus restored it, and reverts commit 44ce519.

It requires a pam_oath in a version that implements the
no_usersfile_okay argument. Provisionally using 2.6.11.12 as a version
to indicate it, the patch is not yet merged upstream, but this is likely
a version upstream will not assign. Patch:
https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/42

pam_oath should be enabled in the cockpit pam config by appending:

auth [user_unknown=ignore success=ok] pam_oath.so usersfile=${HOME}/.pam_oath_usersfile no_usersfile_okay window=20 digits=6

(cherry picked from commit 09b06fd)
Thus restored it, and reverts commit 44ce519.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant