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

pre-caculate next code before the current one expires #416

Open
ElTopo opened this issue Nov 9, 2024 · 0 comments
Open

pre-caculate next code before the current one expires #416

ElTopo opened this issue Nov 9, 2024 · 0 comments

Comments

@ElTopo
Copy link

ElTopo commented Nov 9, 2024

Is your feature request related to a problem? Please describe.
Currently, when codes are expired and switched to the next codes, there's a short pause (about 1 second), I assume that's for calculating new codes.
All the other 2fa apps I used, including web apps, switch to the new codes instantly, some apps, such as ente auth, even display the next code along with current one.
The next code is not a secret, it's just the one that's calculated from the current expiring timestamp.

Describe the solution you'd like
Pre-caculate the next code before the current one expires (e.g. 10 seconds before), so that when the app needs to switch to the next code it's already available.

Describe alternatives you've considered
n/a

Additional context
It would be nice to be able to also optionally display the next codes along the current ones. The next codes could be smaller but should be copiable. As an example, see the picture of ente auth app at https://www.news47ell.com/blog/ente-authenticator-review-e2ee-google-authenticator-alternative

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

No branches or pull requests

1 participant