turakar
2016-03-22 11:02:03 UTC
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
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