Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic backup and load of encryption key #197

Open
Thatoo opened this issue Nov 3, 2020 · 2 comments
Open

Automatic backup and load of encryption key #197

Thatoo opened this issue Nov 3, 2020 · 2 comments

Comments

@Thatoo
Copy link

Thatoo commented Nov 3, 2020

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
Copy link
Author

Thatoo commented Dec 9, 2020

I guess it goes with this issue, Preserve Element session for multiple accounts : #197

@kescherCode
Copy link

kescherCode commented Jan 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants