From 39417d7c797560ce2609aa10af379fcb46835da4 Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Fri, 4 Aug 2017 10:13:36 +0200 Subject: [PATCH 1/3] Add exporter for the pure XML files --- README.md | 11 ++++ export-xml.html | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 export-xml.html diff --git a/README.md b/README.md index 04617d8..8bff640 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,23 @@ __Be sure to understand the security implications of backing up the secrets from # Instructions +## ADB Backup + Make an adb backup of FreeOTP, (details on how to do this are currenly left as an excercise for the reader. While you are doing the backup, consider the above warning!). Open the adb backup file (.ab) with this app. Read the displayed qrcodes with the authenticator app on your other phone. The author has tested the app with current Google Chrome and Mozilla Firefox on Ubuntu 16.04 in April 2017. Other browsers probably do not work. Generated qrcodes have been succesfully imported in FreeOTP and Google Authenticator on Android and Microsoft Authenticator on Windows Phone 8, Windows Phone 10 and Android. This app can be opened directly at https://rawgit.com/viljoviitanen/freeotp-export/master/export.html +## XML Backup + +If your phone is already rooted you can directly backup the XML file containing all your accounts. +Just use a root explorer (something like [Amaze File Manager](https://play.google.com/store/apps/details?id=com.amaze.filemanager)) to copy the tokens.xml file from `/data/data/org.fedorahosted.freeotp/shared_prefs/tokens.xml` to your phones internal storage. +From there you can copy it onto you PC any way you like. +Open the tokens.xml file with this app. Read the displayed qrcodes with the authenticator app on your other phone. + +This app can be opened directly at https://rawgit.com/viljoviitanen/freeotp-export/master/export-xml.html + # Acknowledgements Based on https://github.com/philipsharp/FreeOTPDecoder (Apache license) diff --git a/export-xml.html b/export-xml.html new file mode 100644 index 0000000..df41aa3 --- /dev/null +++ b/export-xml.html @@ -0,0 +1,141 @@ + + + + + + + +Instructions at GitHub +
+FreeOTP XML file: + From e96361e44f35fc91a0269340c0cc17c975e84a6e Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Fri, 4 Aug 2017 10:14:48 +0200 Subject: [PATCH 2/3] Fix instructions link for the pull request --- export-xml.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-xml.html b/export-xml.html index df41aa3..002f1f4 100644 --- a/export-xml.html +++ b/export-xml.html @@ -135,7 +135,7 @@ function onChange(event) { -Instructions at GitHub +Instructions at GitHub
FreeOTP XML file: From ef06a294163ea987f0cd444a975fe74319f7b794 Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Fri, 4 Aug 2017 12:08:28 +0200 Subject: [PATCH 3/3] Remove link to Amaze --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bff640..6afb906 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This app can be opened directly at https://rawgit.com/viljoviitanen/freeotp-expo ## XML Backup If your phone is already rooted you can directly backup the XML file containing all your accounts. -Just use a root explorer (something like [Amaze File Manager](https://play.google.com/store/apps/details?id=com.amaze.filemanager)) to copy the tokens.xml file from `/data/data/org.fedorahosted.freeotp/shared_prefs/tokens.xml` to your phones internal storage. +Just use a root explorer to copy the tokens.xml file from `/data/data/org.fedorahosted.freeotp/shared_prefs/tokens.xml` to your phones internal storage. From there you can copy it onto you PC any way you like. Open the tokens.xml file with this app. Read the displayed qrcodes with the authenticator app on your other phone.