From 90484da9a20fe09faac0a515f6fb78c1ff23c0e3 Mon Sep 17 00:00:00 2001 From: Cotton Hou Date: Wed, 13 Mar 2024 13:45:32 +0000 Subject: [PATCH] named import from ssh --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1be73a0..226ef39 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,4 @@ -import ssh from 'ed25519-keygen/ssh'; +import { getKeys } from 'ed25519-keygen/ssh'; import { PBKDF2 } from './pbkdf2.ts'; @@ -35,7 +35,7 @@ export async function main ([ passphrase: encode(passphrase), }); - return ssh(new Uint8Array(entropy)); + return getKeys(new Uint8Array(entropy)); }