From 26721219802be2ae9655943e610554a1b47eafbd Mon Sep 17 00:00:00 2001 From: piotrruss Date: Sat, 14 Aug 2021 19:13:46 +0200 Subject: copy to clipboard, icons, notes key --- lib/crypt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/crypt.js b/lib/crypt.js index 4037c28..5d3d79e 100644 --- a/lib/crypt.js +++ b/lib/crypt.js @@ -1,6 +1,6 @@ const crypto = require('crypto') const algorithm = 'aes-256-ctr' -const secretKey = 'QZmGk0WwHMIhDaIsgSqwdnrPjPM3VwN1' +const secretKey = process.env.MYAPPS_NOTES_KEY export const encrypt = (text) => { const iv = crypto.randomBytes(16) -- cgit v1.2.3