diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc index 2b545fa20d..d72264a871 100644 --- a/man/signal-cli.1.adoc +++ b/man/signal-cli.1.adoc @@ -102,7 +102,7 @@ Voice verification only works if an SMS verification has been attempted before. The captcha token, required if registration failed with a captcha required error. To get the token, go to https://signalcaptchas.org/registration/generate.html For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html -Check the developer tools for a redirect starting with signalcaptcha:// Everything after signalcaptcha:// is the captcha token. +After solving the captcha, right-click on the "Open Signal" link and copy the link. === verify @@ -163,7 +163,7 @@ Voice verification only works if an SMS verification has been attempted before. The captcha token, required if registration failed with a captcha required error. To get the token, go to https://signalcaptchas.org/registration/generate.html For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html -Check the developer tools for a redirect starting with signalcaptcha:// Everything after signalcaptcha:// is the captcha token. +After solving the captcha, right-click on the "Open Signal" link and copy the link. === finishChangeNumber diff --git a/src/main/java/org/asamk/signal/util/CommandUtil.java b/src/main/java/org/asamk/signal/util/CommandUtil.java index 3fa9aecd33..d637f22e3e 100644 --- a/src/main/java/org/asamk/signal/util/CommandUtil.java +++ b/src/main/java/org/asamk/signal/util/CommandUtil.java @@ -105,8 +105,7 @@ public static String getCaptchaRequiredMessage(final CaptchaRequiredException e, message = """ Captcha required for verification, use --captcha CAPTCHA To get the token, go to https://signalcaptchas.org/registration/generate.html - Check the developer tools (F12) console for a failed redirect to signalcaptcha:// - Everything after signalcaptcha:// is the captcha token."""; + After solving the captcha, right-click on the "Open Signal" link and copy the link."""; } else { message = "Invalid captcha given."; } diff --git a/src/main/java/org/asamk/signal/util/SendMessageResultUtils.java b/src/main/java/org/asamk/signal/util/SendMessageResultUtils.java index ecc669e863..e4386b0ecb 100644 --- a/src/main/java/org/asamk/signal/util/SendMessageResultUtils.java +++ b/src/main/java/org/asamk/signal/util/SendMessageResultUtils.java @@ -90,8 +90,7 @@ public static String getErrorMessageFromSendMessageResult(SendMessageResult resu failure.getOptions().contains(ProofRequiredException.Option.RECAPTCHA) ? """ To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html - Check the developer tools (F12) console for a failed redirect to signalcaptcha:// - Everything after signalcaptcha:// is the captcha token. + After solving the captcha, right-click on the "Open Signal" link and copy the link. Use the following command to submit the captcha token: signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN""" : ""