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

Element R reports "Session key: <not supported>" #26378

Closed
julioromano opened this issue Oct 16, 2023 · 7 comments · Fixed by element-hq/matrix-react-sdk#86
Closed

Element R reports "Session key: <not supported>" #26378

julioromano opened this issue Oct 16, 2023 · 7 comments · Fixed by element-hq/matrix-react-sdk#86
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Labs

Comments

@julioromano
Copy link

Steps to reproduce

Dogfooding R from https://pr10080--matrix-react-sdk.netlify.app/
Logged in to the element.io HS and done SAS verification.

Outcome

After successfully decrypting all content I can see in the security preferences: "Session key: "
Whilst on non-R Element it correctly spells out the session key.

Operating system

No response

Browser information

Chrome Version 118.0.5993.70 (Official Build) (arm64)

URL for webapp

https://pr10080--matrix-react-sdk.netlify.app/

Application version

No response

Homeserver

element.io

Will you send logs?

No

@germain-gg germain-gg added A-Element-R Issues affecting the port of Element's crypto layer to Rust Z-Labs labels Oct 16, 2023
@richvdh
Copy link
Member

richvdh commented Jan 24, 2024

image

@richvdh
Copy link
Member

richvdh commented Jan 24, 2024

This is probably a 30 second fix.

@BillCarsonFr
Copy link
Member

Let's remove it. It's a dev tool

@richvdh
Copy link
Member

richvdh commented May 3, 2024

Let's remove it. It's a dev tool

There are separate plans to move much of this data to another panel, but being able to access this information somehow has proven useful for debugging. I think we should keep it. It's an easy fix.

@apotheon
Copy link

Are there any updates on this thirty-second fix?

@hax0rbana-adam
Copy link

I'm trying to help someone debug the dreaded Unable to Decrypt problem and this was the only thing that I could find that was different between her session (which can only decrypt messages after she logs in) and mine (which can decrypt old messages).

Can anyone give me some pointers as to whether this is related to the Session key: <not supported> in this ticket.

Her browser is set to clear cache and she has enters her backup password each time she opens her browser and logs into element.4d2.org. My expectation is that manually entering the backup key would provide access to all messages, but it seems to only be a subset of them (more recent ones). We also tried the "Restore from Backup" button under Security & Privacy and that didn't have any effect. Who can read for the room is set to "members since they were invited".

PS I've very familiar with element-hq/element-meta#245 and I thought all those problems were behind us with Element R. If there's a specific issue that I should look at, please point me to it so I can continue running tests to understand what's going wrong here.

@richvdh
Copy link
Member

richvdh commented Sep 21, 2024

@hax0rbana-adam: Session key: <not supported> is essentially normal in modern versions of Element Web R. It is entirely cosmetic.

Please open a separate issue if you want to discuss further as it's off-topic here, but in short: key backup is a server-side backup. You need an active client to receive the keys in the first place; it sounds like your user does not have such a device. The long-term solution to this is dehydrated devices but this remains under development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants