bitshares / bitshares/beet

TOTP deeplink codes aren't one-use

Open
#268 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
27
Forks
31
Avg merge
10h 47m
Merged PRs (30d)
5

Description

**Describe the bug**

Timed one-time-passcode is what TOTP stands for, and whilst the passcode is timed, it isn't one-use, you can reuse it until the timer expires.

**To Reproduce**

Use TOTP, use the code twice in a row to launch a prompt.

**Expected behavior**

A one time passcode can be used once.

**Additional context**

Once per prompt window, or once per approved prompt?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the TOTP deeplink flow described in the issue, launching a prompt and submitting the same code twice. Trace the deeplink and prompt entry points, then check existing tests around TOTP use. Done means a code cannot be reused, with the intended once-per-prompt or once-per-approved-prompt behavior clarified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.