Open Benjie56 opened 1 year ago
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
@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.
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: https://github.com/beemdevelopment/Aegis/issues/1084 "Support for importing FreeOTP 2.0 encrypted backups"
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".