Updated Linking other devices (Provisioning) (markdown)

exquo 2020-07-11 10:29:40 +00:00
parent c0badb8675
commit fcb3005e02

@ -2,7 +2,13 @@
signal-cli link -n "optional device name"
This shows a "tsdevice:/…" link, if you want to connect to another signal-cli instance, you can just use this link. If you want to link to and Android device, create a QR code with the link (e.g. with [qrencode](https://fukuchi.org/works/qrencode/)) and scan that in the Signal Android app.
This shows a `tsdevice:/…` link; if you want to connect to another signal-cli instance, you can just use this link. If you want to link to an Android device, create a QR code with the link (e.g. with [qrencode](https://fukuchi.org/works/qrencode/)) and scan that in the Signal Android app.
To request a link and display the resulting QR code image in a single command on linux:
signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png
Do not kill the `signal-cli link …` process until linking is finished; the process will exit when it's done.
After linking was successful, you need to execute the receive command to get the list of contacts and groups from the main device.