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

Old secrets doesnt work #142

Open
mafianekcek opened this issue Jul 3, 2021 · 0 comments
Open

Old secrets doesnt work #142

mafianekcek opened this issue Jul 3, 2021 · 0 comments

Comments

@mafianekcek
Copy link

mafianekcek commented Jul 3, 2021

Hello, my users having issues with their 2fa, also mine just stopped to work today, there is no change of the script file for over 1 year and also those secrets are over 1 year old and just stopped work today.
Basiacally the

speakeasy.totp.verify({
    secret: userSecret,
    encoding: 'base32',
    token: userToken,
	window: 2,
	step: 60
  });

always return false for old secrets.
When I remove my old secret and generate new QR code, I got new secret and then it works. So old secrets are not working, just new ones. Can you please help me?

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