-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Keys are not uploaded to backup if the backup is not signed #4676
Comments
I'm struggling to understand what the actual problem you're seeing is. Part of the problem is that there is no one meaning of "trusted": it is very much contextual. As best I can understand:
Is that correct? |
Yes, you got it right, my keys are not uploading. |
Ok. How did you get into the state where you have a key backup that you have the decryption key for, but which has not been signed by your cross-signing key? Not saying it shouldn't work, it's just not something we've ever come across before and so haven't tested. |
I am not sure, maybe from the client (Element Android probably) i enabled this feature 3-4 years ago have not signed it with master key? and since i never reset it or lost key it remains the same. it was uploading keys initially but from last 2 years it has stopped (looking at restored keys in new login). |
ok, thanks |
Spec says https://spec.matrix.org/v1.10/client-server-api/#server-side-key-backups : trust can also be determined
link to problem area:
matrix-js-sdk/src/rust-crypto/backup.ts
Line 306 in cc238c2
should be (as both are part of
BackupTrustInfo
)alternative fix at
matrix-js-sdk/src/rust-crypto/backup.ts
Line 132 in cc238c2
related debugging:
matrix-js-sdk/src/rust-crypto/backup.ts
Lines 123 to 124 in cc238c2
more details:
one of my account only has device signatures(from logged out devices) in
auth_data
and missingmaster_key
signature in that case the backup is stalled for forever. Not sure we can also addmaster_key
signature using https://spec.matrix.org/v1.10/client-server-api/#put_matrixclientv3room_keysversionversion without resetting version?The text was updated successfully, but these errors were encountered: