update to new provisioning URL scheme

This commit is contained in:
technillogue 2021-10-06 03:00:00 -04:00
parent 26594dd0ee
commit 1e69690f14

View file

@ -65,7 +65,7 @@ public class DeviceLinkInfo {
public URI createDeviceLinkUri() {
final var deviceKeyString = Base64.getEncoder().encodeToString(deviceKey.serialize()).replace("=", "");
try {
return new URI("tsdevice:/?uuid="
return new URI("sgnl://linkdevice?uuid="
+ URLEncoder.encode(deviceIdentifier, StandardCharsets.UTF_8)
+ "&pub_key="
+ URLEncoder.encode(deviceKeyString, StandardCharsets.UTF_8));