From 319695da4c5604c594f5b635e1b605b6795d3b04 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Thu, 20 Feb 2020 02:34:24 -0800 Subject: [PATCH 1/2] fix: Use authereum signing key (#733) --- src/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 389e0ac2..8d7314bf 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -51,7 +51,7 @@ module.exports = { openBoxConsent: (fromAddress, ethereum) => { const text = 'This app wants to view and update your 3Box profile.' - if (ethereum.isAuthereum) return ethereum.signMessageWithAdminKey(text) + if (ethereum.isAuthereum) return ethereum.signMessageWithSigningKey(text) var msg = '0x' + Buffer.from(text, 'utf8').toString('hex') var params = [msg, fromAddress] var method = 'personal_sign' @@ -60,7 +60,7 @@ module.exports = { openSpaceConsent: (fromAddress, ethereum, name) => { const text = `Allow this app to open your ${name} space.` - if (ethereum.isAuthereum) return ethereum.signMessageWithAdminKey(text) + if (ethereum.isAuthereum) return ethereum.signMessageWithSigningKey(text) var msg = '0x' + Buffer.from(text, 'utf8').toString('hex') var params = [msg, fromAddress] var method = 'personal_sign' From 61706ae55a77a0fe08b5469ea87bf5b8f4220350 Mon Sep 17 00:00:00 2001 From: Joel Torstensson Date: Thu, 20 Feb 2020 17:21:25 +0100 Subject: [PATCH 2/2] Release v1.17.1 --- RELEASE-NOTES.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 8b2e9ebe..61c04e1f 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,8 @@ # Release Notes +## v1.17.1 - 2020-02-20 +* fix: Use authereum signing key (#733) + ## v1.17.0 - 2020-02-13 * feat: confidential threads 🔒📫 diff --git a/package.json b/package.json index a195b103..b625d468 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "3box", - "version": "1.17.0", + "version": "1.17.1", "description": "Interact with user data", "main": "lib/3box.js", "directories": {