you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 2 years ago (2 children)

As for storing the private key you could encrypt it with (a derivative of) the user’s password

And now every time a user forgets their password and does password recovery, they lose all their DMs.

E2EE chat is a difficult problem.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 2 years ago*

    I mean you could just store it encrypted in the database for the basics, and for advanced users allow them to back it up.

    There are tons of ways to improve it, but there is definitely way more you can do without much inconvenience to the users. I doubt losing old DMs is a huge issue when you forget your password...

  • source
  • parent