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

feat(labrinth): totp skew #2887

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

feat(labrinth): totp skew #2887

wants to merge 3 commits into from

Conversation

Erb3
Copy link
Contributor

@Erb3 Erb3 commented Nov 3, 2024

Fixes #2875 by using totp-rs's method for checking validity, which accounts for the configured skew. The standard recommends a value of one period of skew, which is what we are configured to support. This was however not supported because of how the TOTP was checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement 2FA TOTP tolerance
1 participant