Included alternative instruction.

a-t-0 2022-07-11 15:49:06 +02:00
parent fd83bfa5e2
commit 4927b6cb1c

@ -19,7 +19,7 @@ After filling the captcha, the site doesn't show the token but redirects to a `s
How to see the captcha token depends on whether one of the official apps (Desktop/iOS/Android) is installed. Because in that case the `signalcaptcha://` url scheme is handled by the apps and the captcha cannot be seen directly.
### No official app installed
### No official app installed -Firefox
To see the URL you can open the browser developer tools (F12) before completing the captcha.
Hint: Enable the option "Persist Logs" in the "Console Settings" to prevent clearing the console each time navigating to a new page.
@ -40,4 +40,32 @@ To get a complete captcha token, prepend `signal-recaptcha-v2.6LfBXs0bAAAAAAjkDy
### Register custom protocol handler
See [#701](https://github.com/AsamK/signal-cli/issues/701) or [#724](https://github.com/AsamK/signal-cli/issues/724) for some suggestions.
See [#701](https://github.com/AsamK/signal-cli/issues/701) or [#724](https://github.com/AsamK/signal-cli/issues/724) for some suggestions.
### No official app installed - Brave
* Go to: https://signalcaptchas.org/registration/generate.html press F12
* Click on the "Network Tab"
* Within the Network tab, sort on tab: "Name".
* Complete the captcha and click on Verify. If the browser asks: "Open link with" don't do anything with that, just ignore it.
* After clicking "Verify", you should see an entry that starts with:`signal-recaptcha-v2...`. Click on that entry.
If there are multiple, select the lowest/latest one (assuming sort A-Z from top to bottom).
* In the right pane, below headers, it should now show the captcha token that you should enter in the CLI.
![signal_obf](https://user-images.githubusercontent.com/34750068/178279145-d0af56b4-8147-49d9-927e-e921075d3dd9.png)
* Get the token by right clicking on it and clicking: `copy value`. You can paste that directly into:
```
signal-cli -u $PHONE_NR register --captcha what_you_copied
```
and it will look a bit like:
```
signal-cli -u $PHONE_NR register --captcha signalcaptcha://signal-recaptcha-v2.someshortercode.registration.someverylongcode
```
* Then you should receive an sms with a verification code. Copy only the 6 digits and enter them in the CLI like:
```
signal-cli -a $PHONE_NR verify 123456
```
* That should be it, now you should be able to send a message with:
```
signal-cli -a ACCOUNT send -m "This is a message" ACCOUNT
```
* Note that this will disable the authentication of your phone/main device. If you want to use your phone and signal-cli at the same time, you can follow [these instructions](https://github.com/AsamK/signal-cli/wiki/Linking-other-devices-%28Provisioning%29).