riotchat icon indicating copy to clipboard operation
riotchat copied to clipboard

Automatic backup and load of encryption key

Open Thatoo opened this issue 5 years ago • 2 comments

Hello,

Would it be possible for riotchat to backup automatically the encryption key in a dedicated file into nextcloud the first time we connect to our matrix account from riotchat and then would it be possible for riotchat to load this encryption key automatically from that file every time we connect to our matrix account from nextcloud-riotchat?

In the best world (not sure if it's doable), the login/password would also be stored into an encrypted file (could be the same file I guess) stored into nextcloud so wherever we log into our nextcloud, we can easily and very fast reach our matrix account throw riotchat.

This encrypted file would be encrypted with the help of id/password of nextcloud like that even the technician who hold the nextcloud could not open the file without the id/password of a user.

Of course the situation when a user change his nextcloud's password would need to be treated...

Thatoo avatar Nov 03 '20 20:11 Thatoo

I guess it goes with this issue, Preserve Element session for multiple accounts : https://github.com/gary-kim/riotchat/issues/197

Thatoo avatar Dec 09 '20 14:12 Thatoo

It's doable. The Rainloop app for Nextcloud allows storing sessions in a simliar way (granted, it's just IMAP/SMTP credentials, but still).

kescherCode avatar Jan 04 '21 00:01 kescherCode