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

net-im/element-desktop: unable to restore session if keytar is not installed #371

Open
aschaap opened this issue Sep 2, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@aschaap
Copy link

aschaap commented Sep 2, 2024

Thank you for this great set of ebuilds.

Previously, I could quit and reopen element-desktop and remain logged in; when it stopped doing this (perhaps to lack of disk space), I cleared ~/.config/Element (and ~/.config/Riot), but sessions remained unable to persist across restarts. Launching from the CLI showed that both keytar and seshat were missing; installing keytar via npm i -g keytar seems to have fixed my issue. I have not customized USE flags for this package, so native-modules and build-online remain off.

An easy solution would be to add a note in pkg_postinst() saying to run npm i -g keytar, if this is the best way to solve this (is it?). Is this expected behaviour? Are we supposed enable the USE flags mentioned above instead?

@aschaap aschaap added the bug Something isn't working label Sep 2, 2024
@PF4Public
Copy link
Owner

By any chance, have you noticed at which version this started to occur?

@aschaap
Copy link
Author

aschaap commented Sep 4, 2024

Thanks for the quick response! Unfortunately not; I don't have an exact version number, but it's at least a few versions ago at this point; I've been trying to fix this for a few weeks now and finally invested some time.

@PF4Public
Copy link
Owner

PF4Public commented Sep 6, 2024

This does look similar to your issue: element-hq/element-desktop#1853

Could you mention there that it works with keytar manually installed?

@aschaap
Copy link
Author

aschaap commented Sep 6, 2024

Done, thank you for finding that bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants