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": { 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'