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

Upload manually imported keys to key backup #19929

Closed
HarHarLinks opened this issue Nov 29, 2021 · 6 comments
Closed

Upload manually imported keys to key backup #19929

HarHarLinks opened this issue Nov 29, 2021 · 6 comments
Labels
A-E2EE A-E2EE-Key-Backup O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement

Comments

@HarHarLinks
Copy link
Contributor

HarHarLinks commented Nov 29, 2021

Your use case

I hope SSSS (secure secret storage and sharing) is the right term for Encryption -> Secure Backup in Security & Privacy Settings.

Export keys from a device that for any reason does not support SSSS key backup or is bugged out. Import the keys in another session which has working SSSS. The keys then are propagated to all other devices via SSSS.

Export all keys from SSSS online backup to file. Delete all sessions and Backup, for example if it has bugged out. Restore all keys by importing.

Have you considered any alternatives?

is this for some reason unsafe? Impossible?

Additional context

No response

@SimonBrandner SimonBrandner added A-E2EE A-E2EE-Key-Backup O-Occasional Affects or can be seen by some users regularly or most users rarely labels Nov 29, 2021
@dbkr dbkr changed the title Import offline key backup also into SSSS online backup and vice versa Upload manually imported keys to key backup Dec 1, 2021
@dbkr
Copy link
Member

dbkr commented Dec 1, 2021

SSSS == storage & sharing for account keys, I think you just mean room key backup. I've updated the title to reflect that - hopefully that reflects the intention? Although I'm not sure about the 'vice versa' part?

@HarHarLinks
Copy link
Contributor Author

SSSS == storage & sharing for account keys, I think you just mean room key backup. I've updated the title to reflect that - hopefully that reflects the intention?

I mean this thing:
image
It's really confusing and I have not seen it explained so far, what all kinds of keys and sharing mechanisms and backups all exist. Would be nice to get an overview.


Although I'm not sure about the 'vice versa' part?

Vice versa is my second point:

Export all keys from [the same] online backup to file. Delete all sessions and Backup, for example if it has bugged out. Restore all keys by importing.

This exact case has happened to me recently. I exported the keys from an android phone before logging it out and throwing it away. Set up all kinds of backups and cross signing on desktop and new (i)phone. Imported key backup on desktop. Expected keys to get synced to new phone, but they didn't.

@richvdh
Copy link
Member

richvdh commented Jun 26, 2024

I don't really understand what this issue is asking for. Keys that are imported from a file are indeed then uploaded to key backup.

@richvdh richvdh closed this as completed Jun 26, 2024
@richvdh
Copy link
Member

richvdh commented Jun 26, 2024

#26468 is an issue about the terrible UI in the backup settings, btw

@HarHarLinks
Copy link
Contributor Author

I don't really understand what this issue is asking for. Keys that are imported from a file are indeed then uploaded to key backup.

it's been a while, but apparently this did not work when I opened this issue.

  1. i want to be able to export all keys contained in the key backup using a session that is connected to my key backup
  2. i reset the key backup, e.g. because i lost the security key/passphrase
  3. i want to be able to import the previously created export not only to the local session but to the new (empty) key backup.

step 3 according to the reply above should work. unclear about step 1.

@richvdh
Copy link
Member

richvdh commented Jun 26, 2024

step 1 will give you an incomplete export until we fix element-hq/element-meta#2446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-E2EE-Key-Backup O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement
Projects
None yet
Development

No branches or pull requests

4 participants