Updated Linking other devices (Provisioning) (markdown)

exquo 2021-11-08 11:35:37 +00:00
parent ddf43c0338
commit 59a953fe2d

@ -1,13 +1,11 @@
Signal allows to link additional devices to your primary device. A "primary" program can be the official Signal app on a mobile device (e.g. Signal-Android), or an instance of signal-cli. A "linked" program can be Signal-Desktop, or an instance of signal-cli. Note that currently Signal allows up to _three_ linked devices per primary; attempting to link additional devices using signal-cli as a primary (with `signal-cli addDevice …`) leads to "Authentication failed" error. Signal allows to link additional devices to your primary device. A "primary" program can be the official Signal app on a mobile device (e.g. Signal-Android), or an instance of signal-cli. A "linked" program can be Signal-Desktop, or an instance of signal-cli. Note that currently Signal allows up to _three_ linked devices per primary; attempting to link additional devices using signal-cli as a primary (with `signal-cli addDevice …`) leads to "Authentication failed" error.
* Connect to another device * Connect to another device
signal-cli link -n "optional device name" 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 (see below for details). 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. This shows a `tsdevice:/…` link (or `sgnl://linkdevice…` in more recent versions); if you want to connect to another signal-cli instance, you can just use this link (see below for details). 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: To request a link and display the resulting QR code image in a single command on linux:
@ -31,7 +29,7 @@ Signal allows to link additional devices to your primary device. A "primary" pro
signal-cli -u USERNAME addDevice --uri "tsdevice:/…" signal-cli -u USERNAME addDevice --uri "tsdevice:/…"
The "tsdevice:/…" link is the one shown by the new signal-cli instance or contained in the QR code shown in Signal-Desktop or similar apps. The `tsdevice:/…` link (or `sgnl://linkdevice…` in more recent versions) is the one shown by the new signal-cli instance or contained in the QR code shown in Signal-Desktop or similar apps.
Only the master device (that was registered directly, not linked) can add new devices. Only the master device (that was registered directly, not linked) can add new devices.