Kunzisoft / Kunzisoft/KeePassDX

Support token-only otp field?

Open
#1,689 0 comments 2 reactions 0 assignees View on GitHub
feature
Dominant language
Kotlin
Stars
7.3k
Forks
401
Avg merge
2d 10h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
If the `otp` field is a raw token (not otpauth://), KeePassDX does not show otp code.

**Describe the solution you'd like**
I tried `otpauth://totp/?secret={token}` without issuer and username, and it worked, so can we support `{token}` only?

**Additional context**
Typically I copy the raw token from the issuer website, and save into Keepass, and don't make it `otpauth://`. Both the Windows KeePass (with KeeTrayTOTP plugin) and KeePassXC support raw token, so I wish KeePassDX can support it.
Thanks!

Contributor guide

Open the contributing guide

Research direction

Review the existing handling of otpauth:// values and trace where the otp field is parsed and displayed. Define the raw-token case from the issue, then verify that saving a token without the otpauth:// prefix results in a visible OTP code while existing otpauth:// behavior remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.