Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import from FreeOTP to FreeOTPPlus #242

Open
Benjie56 opened this issue Feb 19, 2023 · 3 comments
Open

Can't import from FreeOTP to FreeOTPPlus #242

Benjie56 opened this issue Feb 19, 2023 · 3 comments

Comments

@Benjie56
Copy link

Selecting "backup" from FreeOTP (freeotp-android) 2.0 (24) results in a file named externalBackup.
I tried importing this file into FreeOTP+ (FreeOTPPlus) 3.0 (21) using both "import JSON format" and "key URI format". Both result in the error message "Failed to import [format]. The file is malformed".

@Maschmalow
Copy link

Hey, I've made a tool to convert FreeOTP backups to a URI list compatible with FreeOTP+. you can find it here: https://github.com/Maschmalow/freeotp-android

@Benjamin-Loison
Copy link

@Maschmalow Would you mind opening Issues on your repository? I would like to discuss about proposing a trustful APK (built on F-Droid transparent infrastructure for instance, as I am unable to build the app for my Fairphone 4 running LineageOS) and wanted to share with people this script easing reviewing your changes.

@johnnynoone
Copy link

johnnynoone commented Jan 2, 2024

For anyone wanting to review @Maschmalow 's code (commits fcd0aa2753050e88b404cbd2e8ec6767f33e077d and 2e86b9b3bea061f7f0d9f866f0fdb840228084fc), most of the changed files contain only fluff (changed README, renamed freeotp to freeotpbackup, deleted unneeded imports, added one import (android.net.Uri), added new string (for the convert action)). The important changes are in:

  • mobile/src/main/java/org/fedorahosted/freeotpbackup/TokenPersistence.java
  • mobile/src/main/java/org/fedorahosted/freeotpbackup/main/Activity.java
  • mobile/src/main/res/menu/menu_main.xml

EDIT: The same issue in another project: beemdevelopment/Aegis#1084 "Support for importing FreeOTP 2.0 encrypted backups"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants