From e1605c1fc15ab71f2c5026a70364c3e33b4c6998 Mon Sep 17 00:00:00 2001 From: David Watrous <509299+dpwatrous@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:31:01 -0400 Subject: [PATCH] Make CryptoService tests use a more obviously fake key for tests --- .../src/client/core/secure-data-store/crypto-service.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/src/client/core/secure-data-store/crypto-service.spec.ts b/desktop/src/client/core/secure-data-store/crypto-service.spec.ts index 171b622f8..3e6eda143 100644 --- a/desktop/src/client/core/secure-data-store/crypto-service.spec.ts +++ b/desktop/src/client/core/secure-data-store/crypto-service.spec.ts @@ -7,7 +7,8 @@ describe("CryptoService", () => { let masterKey: string | null = null; beforeEach(() => { - masterKey = "fbea88f2f4efeb0640cb411aa7df41cb"; + // Fake testing key needs to be 32 characters long + masterKey = "------fake-key-for-testing------"; keytarSpy = { setPassword: jasmine.createSpy("setPassword").and.callFake((x) => { masterKey = x;