If I have a web app for messaging that started as non-end-to-end encrypted and I want to migrate that same service to be e2ee, how might I deal with old messages? If I'm using something like the Signal Protocol, would I have to go all the way back in time and re-double-ratchet every single message?

Alternatively, is it standard to just leave old messages as plaintext in the db? That certainly doesn't seem ideal.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.