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

[gateway][mfa] Allow OTP factor to handle clock drift issues #9074

Closed
exalate-issue-sync bot opened this issue May 29, 2023 · 0 comments
Closed

[gateway][mfa] Allow OTP factor to handle clock drift issues #9074

exalate-issue-sync bot opened this issue May 29, 2023 · 0 comments

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented May 29, 2023

https://datatracker.ietf.org/doc/html/rfc6238#section-6

The RFC mentions:

 6\. Resynchronization

Because of possible clock drifts between a client and a validation
 server, we RECOMMEND that the validator be set with a specific limit
 to the number of time steps a prover can be "out of synch" before
 being rejected.

This limit can be set both forward and backward from the calculated
 time step on receipt of the OTP value. If the time step is
 30 seconds as recommended, and the validator is set to only accept
 two time steps backward, then the maximum elapsed time drift would be
 around 89 seconds, i.e., 29 seconds in the calculated time step and
 60 seconds for two backward time steps.

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

No branches or pull requests

0 participants