From e7443a76e1787d51d7508196afe4ff5104350522 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 16 Jul 2018 10:23:11 -0400 Subject: [PATCH] Symmetric and private keys can be set in whisper --- templates/boilerplate/config/communication.js | 7 +++++++ templates/demo/config/communication.js | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/templates/boilerplate/config/communication.js b/templates/boilerplate/config/communication.js index 035d95de..cf68c45a 100644 --- a/templates/boilerplate/config/communication.js +++ b/templates/boilerplate/config/communication.js @@ -8,6 +8,13 @@ module.exports = { port: 8546, // Port of the blockchain node type: "ws" // Type of connection (ws or rpc) } + // Use this section when you need a specific symmetric or private keys in whisper + /* + ,keys: { + symmetricKey: "your_symmetric_key",// Symmetric key for message decryption + privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption + } + */ } }; diff --git a/templates/demo/config/communication.js b/templates/demo/config/communication.js index 8c4d1f91..61fef697 100644 --- a/templates/demo/config/communication.js +++ b/templates/demo/config/communication.js @@ -8,5 +8,12 @@ module.exports = { port: 8546, // Port of the blockchain node type: "ws" // Type of connection (ws or rpc) } + // Use this section when you need a specific symmetric or private keys in whisper + /* + ,keys: { + symmetricKey: "your_symmetric_key",// Symmetric key for message decryption + privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption + } + */ } };