From 668edfacaa46f427798716320a1aeb80d91d765f Mon Sep 17 00:00:00 2001 From: Mohammad Cheikh Date: Sat, 7 Dec 2024 19:34:35 -0500 Subject: [PATCH] prettier and changeset --- .changeset/curly-eyes-cover.md | 5 +++++ packages/crypto/src/turnkey.ts | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/curly-eyes-cover.md diff --git a/.changeset/curly-eyes-cover.md b/.changeset/curly-eyes-cover.md new file mode 100644 index 000000000..9aeae84c2 --- /dev/null +++ b/.changeset/curly-eyes-cover.md @@ -0,0 +1,5 @@ +--- +"@turnkey/crypto": minor +--- + +Add keyformat to decryptExportBundle for displaying Solana private keys diff --git a/packages/crypto/src/turnkey.ts b/packages/crypto/src/turnkey.ts index dd0298ee6..bc3573354 100644 --- a/packages/crypto/src/turnkey.ts +++ b/packages/crypto/src/turnkey.ts @@ -18,7 +18,7 @@ import { uncompressRawPublicKey, } from "./crypto"; -import { ed25519 } from '@noble/curves/ed25519'; +import { ed25519 } from "@noble/curves/ed25519"; interface DecryptExportBundleParams { exportBundle: string; @@ -168,7 +168,6 @@ export const decryptExportBundle = async ({ } }; - /** * Verifies a signature from a Turnkey stamp using ECDSA and SHA-256. *