axolotl-chat / axolotl

A Signal compatible cross plattform client written in Go, Rust and Vuejs
https://axolotl.chat
GNU General Public License v3.0
326 stars 52 forks source link

[Question] Importing key from Android version #61

Open DC7IA opened 5 years ago

DC7IA commented 5 years ago

How I can I use the key from the Android app to avoid re-registering and re-verifying all my contacts?

It would take me quite some time to re-verify all the contacts.

I know that Signal Android does not offer me to export the key, but with root access I can get to it, I just need to know where to place it in Signal Ubuntu Touch.

dc7ia

DC7IA commented 5 years ago

Also, are the keys in the same format, so I can just copy them onto the Ubuntu Touch device to use it there instead..?

nanu-c commented 5 years ago

I will look into this tonight

yo-k commented 5 years ago

@nanu-c do you have an answer to that? Really interesting question.

nanu-c commented 5 years ago

Our key's are saved under /home/phablet/.local/share/textsecure.nanuc/.storage/ . The folder listing is like groups identity prekeys sessions signed_prekeys . Someone could write a import script for it :)

yo-k commented 5 years ago

I had a fast look at it (terminal app) but don't know what to do with all that files. And I do not have an android either. Bad prerequisites for scripting :-/ ...perhaps later.

hex-m commented 4 years ago

Signal on Android can create Backups that include the Keys. So it may be best to support restoring from such a backup.

Flaburgan commented 4 years ago

Thinking about that, maybe the way to deal with that issue is to go the same way the desktop Signal client is working: as a slave of the Signal APK which is the master.

So the first screen would become something like this:

Capture d’écran - 2020-03-24 à 23 21 19

With the next step being the QR code to scan to give the keys to Axolotl.

I guess that implies that you need to keep Signal installed on another device, or to print the QR code before booting to UT if that's your situation... Something complicated in any case but I feel like this idea is worth thinking about.

nanu-c commented 4 years ago

That's a good idea, but ... :) At the moment i copy more or less the android app, with that i need to copy code from signal desktop. If someone wants to dig in the js code of signal desktop?

olof-nord commented 3 years ago

Thinking about that, maybe the way to deal with that issue is to go the same way the desktop Signal client is working: as a slave of the Signal APK which is the master.

So the first screen would become something like this:

Capture d’écran - 2020-03-24 à 23 21 19

With the next step being the QR code to scan to give the keys to Axolotl.

I guess that implies that you need to keep Signal installed on another device, or to print the QR code before booting to UT if that's your situation... Something complicated in any case but I feel like this idea is worth thinking about.

That is a very interesting idea. To not have this idea hidden as a comment in this issue, what about creating a feature request for this specifically? Then we can add it to the roadmap and prioritize it along with other ideas for axolotl.