kspearrin / kspearrin/Otp.NET

Cannot match my OTP

Open
#69 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.3k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

I have an OTP URI like you have in your code
otpauth://totp/ACME%20Co:alice%40google.com?secret=RTI4FZKPLAEEDTUM&issuer=ACME%20C"

No matter what I do, I cannot generate an accurate code OTP code like my phone does. I don't know per se what algorithm I am using nor the time to use, but when I tried a bunch of combinations i haven't been able to generate an accurate code.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the supplied TOTP URI and its generated code with the phone's configuration, especially the unspecified algorithm and time settings. Confirm the expected configuration and a reproducible mismatch before identifying the relevant Otp.NET entry point; done means the same URI produces the phone's code.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.