diff --git a/deno.json b/deno.json index 3d51e5e..f5fd29a 100644 --- a/deno.json +++ b/deno.json @@ -2,6 +2,9 @@ "$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json", "name": "@key/gen-ssh-ed25519", "version": "0.1.0", + "imports": { + "ed25519-keygen/": "npm:ed25519-keygen@~0.4.11/" + }, "exports": { "./private": "./src/private.ts", "./uuid": "./src/uuid.ts", diff --git a/src/mod.ts b/src/mod.ts index f441e88..22f1266 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -1,4 +1,4 @@ -import ssh from 'npm:ed25519-keygen@~0.4.11/ssh'; +import ssh from 'ed25519-keygen/ssh'; import { PBKDF2 } from './pbkdf2.ts';