epicweb-dev / epicweb-dev/totp

The library is not accepting the code generated by the authenticator app.

Open
#21 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
337
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I suspect because the phone uses a 32bit integer and the library is now using BigInt. Would it be possible to keep the old algorithm as a separate function so people who want to use the library with a phone can use it or come up with a solution that allows the `generateTOTP`and `verifyTOTP` functions to work in both cases?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.