2

I've noticed that whisper persists symmetric and asymmetric keys created in the geth console by referencing their id, but where does it save these keys, and can the directory be configured? Geth's --datadir seems like the obvious place where they would be saved, but I've looked and it doesn't seem like they're saved there

1

Credit to Gitter's @gluk256 for the answer, which I've paraphrased below.

Whisper by default stores the keys in memory and does not allow the user to configure the key storage location. Instead, key storage is left to the dapp to handle.

  • I think you should give credit to @Ladek 's answer, since it's the same as yours, and was submitted first. – feuGene Mar 7 '18 at 19:34
  • @feuGene they copied the Gitter user's answer straight from the chat and gave no credit to them. My answer gives that original user credit. – delos Mar 7 '18 at 20:43
0

It's the dapp layer task. The dapp should store the keys and pass them to the whisper layer.

  • There's two parts to the question, where the keys are stored and if the directory can be configured. – delos Feb 14 '18 at 19:04
  • Upvoted, but a citation/reference (even to source code) would be nice. – feuGene Mar 7 '18 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.