From 015764218b9bf17f72d0c25f6f6a083eb2e8eb76 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Fri, 19 Jul 2024 10:22:44 +0200 Subject: [PATCH] Fix unnecessary code --- README.md | 2 -- holo-key-manager-extension/src/lib/services/manage-keys.ts | 6 ------ 2 files changed, 8 deletions(-) diff --git a/README.md b/README.md index ff0fd83..662b3f5 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,6 @@ Holo Key Manager is a browser extension for generating and managing Holochain ap ## Usage -test - A javascript client library is available at `@holo-host/holo-key-manager-js-client`. See client documentation [here](holo-key-manager-js-client/README.md) ## Architecture diff --git a/holo-key-manager-extension/src/lib/services/manage-keys.ts b/holo-key-manager-extension/src/lib/services/manage-keys.ts index 3dd834f..eac0227 100644 --- a/holo-key-manager-extension/src/lib/services/manage-keys.ts +++ b/holo-key-manager-extension/src/lib/services/manage-keys.ts @@ -27,12 +27,6 @@ const deriveAndLock = ( return encodedBytes; }; -/** - * Generates keys using the provided passphrase and extension password. - * The 'minimum' setting for argon2id is used for the extensionPassword because it is already - * PBKDF2 hashed. This is acceptable since the additional argon2id hashing provides sufficient - * security for the derived keys. - */ export async function generateKeys( passphrase: string, extensionPassword: string