From d8b4db9c72187128c5980c25794590705b076907 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Tue, 16 Jul 2024 09:22:06 +0200 Subject: [PATCH 1/2] Fix signing issue --- .../src/lib/queries/applicationQueries.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/holo-key-manager-extension/src/lib/queries/applicationQueries.ts b/holo-key-manager-extension/src/lib/queries/applicationQueries.ts index edb431e..62880ae 100644 --- a/holo-key-manager-extension/src/lib/queries/applicationQueries.ts +++ b/holo-key-manager-extension/src/lib/queries/applicationQueries.ts @@ -122,14 +122,16 @@ export function createSignInWithKeyMutation(queryClient: QueryClient) { (app) => app.happId === happId && app.keyName === keyName ); - const pubKey = await deriveSignPubKey(index + DEEP_KEY_AGENT_OFFSET); + const appIndex = index + DEEP_KEY_AGENT_OFFSET; + + const pubKey = await deriveSignPubKey(appIndex); storageService.set({ key: AUTHENTICATED_APPS_LIST, value: { ...currentAuthenticatedAppsListData, [happId]: { - index: index, + index: appIndex, origin } }, From 2516bbeddb89049169797eb12297f148235fd701 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Tue, 16 Jul 2024 09:22:58 +0200 Subject: [PATCH 2/2] Bump manifest --- holo-key-manager-extension/static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holo-key-manager-extension/static/manifest.json b/holo-key-manager-extension/static/manifest.json index 4f51600..32b01f7 100644 --- a/holo-key-manager-extension/static/manifest.json +++ b/holo-key-manager-extension/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Holo key manager", "description": "A browser extension to manage holo keys", - "version": "0.0.72", + "version": "0.0.73", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiAtKvbHNTN3O2BLRZH7RkLczaMLenSeZu+YP+KomPQPZ18nt4DY9boIN/+GWts7gCzEeQq59l8edGdF2P7xAbsRxYR88+zFEbxMtIyfyqJZIlzXwnvPJkwGu/S6arNtX48K7q1+xnJEE7VyeYSj6/i2LR+LmPigCzY9JCP7+SmWVeYbdm3kZmReK0ecfh15RXSNjZpXJUgrbea/RVxweggYKnmhhOUBmuJSCLoWTXIuJPBMwGQK1O2GKBqHOq94bPVSF7j+4WzSpPan70ZZJX/reFsOFE/idfFN6wbizjR1Ne50Po03kudEmfQgoqUhVpd0wP8A3YbqE7ODdZcCPPwIDAQAB", "manifest_version": 3, "action": {