From 288b40eef6740d4c373fd58ed5404a0cb088f617 Mon Sep 17 00:00:00 2001 From: Zane Kharitonov Date: Fri, 20 Dec 2024 14:23:13 -0500 Subject: [PATCH] update message --- packages/api-key-stamper/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-key-stamper/src/utils.ts b/packages/api-key-stamper/src/utils.ts index 2b7feec9..b9775bc6 100644 --- a/packages/api-key-stamper/src/utils.ts +++ b/packages/api-key-stamper/src/utils.ts @@ -16,7 +16,7 @@ export function convertTurnkeyApiKeyToJwk(input: { jwk = pointDecode(uint8ArrayFromHexString(compressedPublicKeyHex)); } catch (e) { throw new Error( - `invalid API key: Ensure that you are using a valid public and private key in compressed or uncompressed format and they are not switched` + `unable to load API key: invalid public key. Did you switch your public and private key?` ); }