Connie Leung
Connie Leung
If a custom time token is created, you need to pass the same time value to verify/verifyDelta method. var token = speakeasy.totp({ secret: secret.base32, encoding: 'base32', time:300 }); var verified...
use window delta There is example in https://github.com/speakeasyjs/speakeasy/wiki/General-Usage-for-Time-Based-Token that uses custom time Test the delta of the token at a custom time is between 0 and 30.
Sorry, my previous reply is incorrect. if the token is valid for 15 minutes, step is 60 * 15 = 900. Therefore, // token expires every 15 minutes token =...
I will create PR to update readme file to show how it is done. I would like to create another PR to modify generateSecret such that issuer can be passed...
I don't know how to create cookbook or faq in github. Please advise. I think this repo has done a great job but i am not sure how to set...
The git repo includes issuer option in generateSecret function. Can you specify "speakeasy": "git://github.com/speakeasyjs/speakeasy.git#e63b936d562fa16c5970d0821a221cf1a59f559b" in package.json to pull the latest source code and pass issuer in generateSecret function? The wiki...
What do you mean by wrong? The verify function does not return correct value when code is passed in?
@LukeXF That what encodeURIComponent() does, it replaces space with %20
Is it current time + options.step or 30 seconds if totp token is requested? hotp never expires in my understanding.
I doubt speakeasy supports Authy. @jakelee8 @mikepb