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. *