It seems that we can only send a message by creating new symmetric keys and key pairs (
shh.post() a message using the parameters:
symKeyIdwhich encrypts using the symmetric key.
sigoptional key pair ID which signs the message
Are Ethereum addresses disconnected from Whisper in term of identity management? It would have been great if we could address a message encrypted with and to an Ethereum address.
I want to do this PoC:
- user (with eth address)
Xwants a secret key that only the users listed on a smart contract have, let usersListed be
Xbroadcast using whisper to users
A,B,C- "I want the secret key" (this message is encrypted for each user)
- Anybody (
A B or C) from the list, once this message has been received, send back an encrypted message containing the secret key, to user