From fc7169f2a03e67291b55d3c3f7d9386caf8da7d2 Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Wed, 19 Feb 2025 09:05:13 +0100 Subject: [PATCH] Send DeviceId to Hub during vault key retrieval See https://github.com/cryptomator/hub/pull/320 --- .../org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java index aa56a22e7..71e7592f6 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java @@ -165,6 +165,7 @@ public class ReceiveKeyController implements FxController { var vaultKeyUri = hubConfig.URIs.API.resolve("vaults/" + vaultId + "/access-token"); var request = HttpRequest.newBuilder(vaultKeyUri) // .header("Authorization", "Bearer " + bearerToken) // + .header("deviceId", deviceId) // .GET() // .timeout(REQ_TIMEOUT) // .build();