2fa
2fa copied to clipboard
Node.js TOTP + HOTP library, with nice utilities for handing 2FA
Results
2
2fa issues
Sort by
recently updated
recently updated
newest added
https://github.com/simontabor/2fa/blob/f42eef50f566d819a7d9ca06c36db5e4224c1ec2/lib/2FA.js#L66 The string comparison of the hotp code against the user supplied code needs to be secure against timing attacks. There are various methods to addressing this, including those in...
verifyHOTP generates code in `xxxxxx` format backup codes are in `xxxx-xxxx-xxxx` format No method for verifying them is available. How to do that?