From 05d1a6fe3aada226bfcf338c8bda0a254e0b2017 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 | 9 ++++++++- templates/demo/config/communication.js | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/templates/boilerplate/config/communication.js b/templates/boilerplate/config/communication.js index 641c0cd4d..b0cb7a5dd 100644 --- a/templates/boilerplate/config/communication.js +++ b/templates/boilerplate/config/communication.js @@ -36,5 +36,12 @@ module.exports = { // "embark run custom_name" //custom_name: { //} + // 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 e8998cf29..b0cb7a5dd 100644 --- a/templates/demo/config/communication.js +++ b/templates/demo/config/communication.js @@ -36,4 +36,12 @@ module.exports = { // "embark run custom_name" //custom_name: { //} + // 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 + } + */ + //} };