mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update to new provisioning URL scheme (#762)
This commit is contained in:
parent
6501ffcdac
commit
d82f4a8717
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class DeviceLinkInfo {
|
||||||
public URI createDeviceLinkUri() {
|
public URI createDeviceLinkUri() {
|
||||||
final var deviceKeyString = Base64.getEncoder().encodeToString(deviceKey.serialize()).replace("=", "");
|
final var deviceKeyString = Base64.getEncoder().encodeToString(deviceKey.serialize()).replace("=", "");
|
||||||
try {
|
try {
|
||||||
return new URI("tsdevice:/?uuid="
|
return new URI("sgnl://linkdevice?uuid="
|
||||||
+ URLEncoder.encode(deviceIdentifier, StandardCharsets.UTF_8)
|
+ URLEncoder.encode(deviceIdentifier, StandardCharsets.UTF_8)
|
||||||
+ "&pub_key="
|
+ "&pub_key="
|
||||||
+ URLEncoder.encode(deviceKeyString, StandardCharsets.UTF_8));
|
+ URLEncoder.encode(deviceKeyString, StandardCharsets.UTF_8));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue