From bda0862bcf313baf71cfff715d7bdebf6333f4ed Mon Sep 17 00:00:00 2001 From: Hendrik Belitz Date: Mon, 16 Mar 2026 10:46:08 +0100 Subject: [PATCH] If client exists staff does not need to retrieve staff key shares (since tunnel is already encrypted) --- src/lib/client/appointment-crypto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client/appointment-crypto.ts b/src/lib/client/appointment-crypto.ts index fdce037..c46ffec 100644 --- a/src/lib/client/appointment-crypto.ts +++ b/src/lib/client/appointment-crypto.ts @@ -545,7 +545,7 @@ export class UnifiedAppointmentCrypto { emailHash: await hashEmail(params.email), clientPublicKey: params.tunnel.clientPublicKey, decryptedTunnelKey, - staffKeyShares: await this.getStaffKeyShares(params.tenantId, decryptedTunnelKey), + staffKeyShares: [], // Not needed for existing clients as tunnel key is already encrypted for staff in this flow }; };