speakeasyjs/speakeasy

Old secrets doesnt work

mafianekcek opened this issue · 0 comments

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?