Skip to content

Unable to add TOTP secret key longer than 18 characters #5486

@rmcdowell-bitwarden

Description

@rmcdowell-bitwarden

Steps To Reproduce

  1. Open the Authenticator app
  2. Tap the + icon to add a new entry
  3. Tap "Enter key manually"
  4. Enter a key longer than 18 characters

Expected Result

A TOTP entry will be created

Actual Result

Receive the error message "Key is invalid"

Screenshots or Videos

No response

Additional Context

A TOTP secret key longer than 18 characters works on the iOS Bitwarden Authenticator app and when using Bitwarden's Integrated Authenticator

Build Version

2025.6.0

What server are you connecting to?

US

Self-host Server Version

No response

Environment Details

-Device: Samsung Galaxy S25+

  • Android 15
  • One UI 7.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions