Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

[BUG] Does not support OTP key uri format #1524

@iioel

Description

@iioel

Describe the bug

I got through some problems while using the OTP key URI format in the totp key field.

Using the following string in the totp filed 'otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example' shows "Error".

I solved this by putting only the key 'JBSWY3DPEHPK3PXP' in the totp field.

https://github.com/google/google-authenticator/wiki/Key-Uri-Format

I could be a nice thing to support :)

Steps to reproduce

Steps to reproduce the error:

  1. Create a password file with the following line :
    'tptp: otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example'
  2. Save and try to get the OTP password. This will show 'Error'.

Expected behavior

It should show the OTP password instead of 'Error'

Screenshots

No response

Device information

  • Device: Google Pixel 4
  • OS: stock ROM Android version 12
  • App version 1.13.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bugS-needs-reproduction-stepsStatus: This problem hasn't been reproduced by the teamS-waiting-on-reporterStatus: awaiting response from the issue author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions