I can use
web3.currentProvider.sendAsync({
method: 'personal_sign',
params: [msg, address],
from: address,
}, (err, res) => {});
and Metamask will prompt the user to sign the given message.
In Mist, I get and error (TypeError: Cannot read property 'id' of undefined
) thrown from here:
EthereumProvider._addResponseCallback (<anonymous>:1097:42)
at EthereumProvider.send (<anonymous>:1146:14)
Is this simply not possible with the Provider from Mist? Or am I missing something?