From a6563e7de2b95a5ae6284ec9cb0be4a6573415f6 Mon Sep 17 00:00:00 2001 From: Hinton Date: Mon, 19 Oct 2020 18:34:24 +0200 Subject: [PATCH] Send key to browser. --- src/services/nativeMessaging.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/nativeMessaging.service.ts b/src/services/nativeMessaging.service.ts index 750818c1a9..2f9ba4155c 100644 --- a/src/services/nativeMessaging.service.ts +++ b/src/services/nativeMessaging.service.ts @@ -63,7 +63,7 @@ export class NativeMessagingService { const response = await this.platformUtilService.authenticateBiometric(); if (response) { - this.send({command: 'biometricUnlock', response: 'unlocked'}); + this.send({command: 'biometricUnlock', response: 'unlocked', keyB64: (await this.cryptoService.getKey()).keyB64}); } else { this.send({command: 'biometricUnlock', response: 'canceled'}); }