axolotl icon indicating copy to clipboard operation
axolotl copied to clipboard

[Question] Importing key from Android version

Open DC7IA opened this issue 5 years ago • 9 comments

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 avatar May 17 '19 19:05 DC7IA

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

DC7IA avatar May 30 '19 22:05 DC7IA

I will look into this tonight

nanu-c avatar Jun 04 '19 08:06 nanu-c

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

yo-k avatar Oct 23 '19 17:10 yo-k

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 :)

nanu-c avatar Oct 23 '19 18:10 nanu-c

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.

yo-k avatar Oct 23 '19 21:10 yo-k

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

hex-m avatar Nov 21 '19 10:11 hex-m

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.

Flaburgan avatar Mar 24 '20 22:03 Flaburgan

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?

nanu-c avatar Mar 28 '20 19:03 nanu-c

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.

olof-nord avatar Mar 28 '21 13:03 olof-nord