1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Split native messaging into renderer and background service. Encrypt messages and verify timestamp

This commit is contained in:
Hinton
2020-10-12 21:18:28 +02:00
parent 44cd222626
commit 51b749b1dc
7 changed files with 240 additions and 203 deletions

View File

@@ -45,12 +45,12 @@ export class MessagingMain {
this.main.trayMain.hideToTray();
break;
case 'enableBrowserIntegration':
this.main.nativeMessagingService.generateManifests();
this.main.nativeMessagingService.listen();
this.main.nativeMessagingMain.generateManifests();
this.main.nativeMessagingMain.listen();
break;
case 'disableBrowserIntegration':
this.main.nativeMessagingService.removeManifests();
this.main.nativeMessagingService.stop();
this.main.nativeMessagingMain.removeManifests();
this.main.nativeMessagingMain.stop();
break;
default:
break;