riotchat
riotchat copied to clipboard
Automatic backup and load of encryption key
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...
I guess it goes with this issue, Preserve Element session for multiple accounts : https://github.com/gary-kim/riotchat/issues/197
It's doable. The Rainloop app for Nextcloud allows storing sessions in a simliar way (granted, it's just IMAP/SMTP credentials, but still).