Skip to content

Can't import from 2fas #340

@alecgibson

Description

@alecgibson

Before the bug report.

  • I have searched the Github Issues for a bug that matches the one I want to file, without success.

Authme/System information

Authme: 6.0.2

Tauri: 2.2.0
WebKit: 605.1.15

OS version: macOS arm64 15.3.0
Hardware info: Apple M1 Pro 16 GB RAM

Release date: 2025. January 08.
Build number: release.250108.165626

Created by: Lőrik Levente

Authme log

authme-2025-02-06-15-35-30.log

Describe the bug

Can't import 2FAS codes. I get no feedback from the UI, just failed logs and no codes imported.

To reproduce

  1. Use 2FAS on Android
  2. Export without password
  3. Try to import into Authme
  4. No feedback from UI, but would expect codes to be imported

Additional information

Here's a redacted subset of the .2fas file:

{
  "services": [
    {
      "name": "AdGuard",
      "secret": "[removed]",
      "updatedAt": 1738606446382,
      "serviceTypeID": "[removed]",
      "otp": {
        "link": "otpauth://totp/[removed]?secret=[removed]&issuer=AdGuard",
        "label": "[removed]",
        "account": "[removed]",
        "issuer": "AdGuard",
        "tokenType": "TOTP",
        "source": "Link"
      },
      "order": {
        "position": 0
      },
      "icon": {
        "selected": "IconCollection",
        "iconCollection": {
          "id": "fe37e55d-3a49-4b40-b974-76b89dd97d9a"
        }
      }
    }
  ],
  "groups": [],
  "updatedAt": 1738856175176,
  "schemaVersion": 4,
  "appVersionCode": 5000029,
  "appVersionName": "5.4.8",
  "appOrigin": "android"
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions