-
Notifications
You must be signed in to change notification settings - Fork 18
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
Can not decrypt message in chrome in v2.5.2 #1766
Comments
|
i need to have the recoveryKey so that, i can continue debug about the message can't be decrypted. As the error message suggests, i guess that the recoverykey is deleted in database |
On firefox there is the same issue. |
Same issue here on firefox |
Hi, the real issue is "why Chrome wants to replace recoveryWords which exists ? Does it means that it failed to get it previously or is it a wanted replacement ? Anyway @rezk2ll is going to accept such replacement but the logical way should be to accept such replacement with a "PUT" request, not a "POST" |
after debugging at first it fetches the recovery words and then it sends a POST request to insert a different set of recovery words |
@rezk2ll: Looking at screnshots, the browser received a 404, that's why it wanted to post. The issue seems to be in the GET |
@guimard, I tried using a different homeserver, matrix.stg.lin-saas.com. I created a new account, and after uploading the recovery key successfully, I was able to retrieve the recovery words from the server with a 200 status. This indicates that the GET API is working correctly, but it appears that the database does not contain the key. |
Hi @guimard , |
Hi @tjiho , @AudranBert , can you show me your app version which has the problem? |
@sherlockvn @guimard @hoangdat when there's a failure when retrieving backup key and the user wants to have a new one, the app tries to wipe the previous key. twake-on-matrix/lib/pages/bootstrap/tom_bootstrap_dialog.dart Lines 176 to 180 in 4fb3d41
But this fail, IMO because there not existing key yet (but didn't had clear log about the error yet). The result is that twake-on-matrix/lib/pages/bootstrap/tom_bootstrap_dialog.dart Lines 181 to 186 in 4fb3d41
I think the problem is that is this case, there's no new recovery key created because this part of the code is never called: twake-on-matrix/lib/pages/bootstrap/tom_bootstrap_dialog.dart Lines 313 to 320 in 4fb3d41
@sherlockvn @hoangdat WDYT ? |
I confirmed that the 500 error is caused by the front-end team, and we have take care of that. |
@rezk2ll prepared an MR to allow POST request to override existing key, I didn't merge it until you agree with this potentially dangerous behavior. Let us know what to do on backend part |
Version: 2.5.9 |
Desc:
DoD:
The text was updated successfully, but these errors were encountered: