twofactor icon indicating copy to clipboard operation
twofactor copied to clipboard

Golang two factor authentication library

Results 18 twofactor issues
Sort by recently updated
recently updated
newest added

So, yeah. Validate returns Tokens mismatch. I can't seem to understand why :// ``` package main import ( // "crypto" b64 "encoding/base64" "fmt" "github.com/sec51/twofactor" ) func main() { // otpauth://totp/Cryptoapl:[email protected]?secret=JEAM3MSPDPI5TLWDM4DEE4OCYDRVPSXY&issuer=Cryptoapl:karlis...

Hi, great job with the library, is there any option to increse the expiration time of generated OTP?

Added functionality to prevent using otp twice, Also TOTPFromBytes it is back compatible to old totp struct without lastUsedOtp.

我现在运行这个样例发现过了一段时间后提示token失效,或者其它的错误

go: github.com/sec51/[email protected]: reading https://goproxy.cn/github.com/sec51/twofactor/@v/v1.0.1.mod: 404 Not Found. please help fix it ~

hello, guys! I'd like to use your lib for production, but I can't push files with the keys to repositories due to security reasons. Also keys are regenerated every single...

I've been using this library for several years now and with the recent builds I'm seeing a strange change in behavior where it is not writing out any contents to...

I am using your library. Everything works fine but all of sudden after few days. I am getting this error, ``` Could not verify the message. Message has been tempered...