From be4cde3e2f55cfb8a6665d02a0ab0831d6561e6f Mon Sep 17 00:00:00 2001 From: singa2000 Date: Mon, 9 May 2022 15:50:21 +0900 Subject: [PATCH] [DeviceHome] Remove out-date comments Now encryption is enough, and it's no longer necessary to encrypt once more with ciper. It fixed the SSMS 220505-0001 issue. Change-Id: Ic5d5724810fe66a9bc9f790cccf9226d4183e26a Signed-off-by: singa2000 --- device_home/service/security.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/device_home/service/security.js b/device_home/service/security.js index 93aebb6..be8be98 100755 --- a/device_home/service/security.js +++ b/device_home/service/security.js @@ -19,10 +19,7 @@ module.exports.Security = class Security { }, privateKeyEncoding: { type: "pkcs1", - format: "pem", - // TODO: Enable ciper and passphrase - //cipher: "aes-256-cbc", - //passphrase: pincode + format: "pem" } }, (err, publicKey, privateKey) => { // Handle errors and use the generated key pair. -- 2.7.4