Discussion:
[whispersystems] Device linking with libtextsecure-java
turakar
2016-03-22 11:02:03 UTC
Permalink
Hello,

Short: How can I link my custom client with the android app?

What I already found out (correct me if I'm wrong):
- the android client does the acutal registration using the QR-code
- the QR-code consists of the following: tsdata:/?
- uuid
- pub_key

Questions:
How do I generate an uuid and a pub_key?
I'm currently using a random uuid (Base64 without padding) and Base64
without padding encoded bytes from PublicKey.serialize(). However, when
I scan a QR-code generated with these values with my android app, I get
a "Device not found". This seems to me like I first have to register my
custom client with the server, but I don't know how.

Greetings,
Turakar
turakar
2016-03-22 22:23:13 UTC
Permalink
Moved to the forums as off-topic for the mailing list:
https://whispersystems.discoursehosting.net/t/linking-a-custom-device-with-libtextsecure-java/238
Post by turakar
Hello,
Short: How can I link my custom client with the android app?
- the android client does the acutal registration using the QR-code
- the QR-code consists of the following: tsdata:/?
- uuid
- pub_key
How do I generate an uuid and a pub_key?
I'm currently using a random uuid (Base64 without padding) and Base64
without padding encoded bytes from PublicKey.serialize(). However,
when I scan a QR-code generated with these values with my android app,
I get a "Device not found". This seems to me like I first have to
register my custom client with the server, but I don't know how.
Greetings,
Turakar
Loading...