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

Crypto store does not work on nodejs #4769

Open
richvdh opened this issue Mar 28, 2025 · 1 comment
Open

Crypto store does not work on nodejs #4769

richvdh opened this issue Mar 28, 2025 · 1 comment
Labels
A-E2EE O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@richvdh
Copy link
Member

richvdh commented Mar 28, 2025

Since the crypto store currently only supports indexeddb or in-memory storage, it is difficult to use correctly in environments which do not support indexeddb such as nodejs, requiring workarounds such as logging in as a new device on each startup (see README), or maybe https://www.npmjs.com/package/indexeddb? (untested!)

It would be good to provide an alternative storage backend such as sqlite (see matrix-org/matrix-rust-sdk-crypto-wasm#168).

@richvdh richvdh added A-E2EE O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect labels Mar 28, 2025
@richvdh
Copy link
Member Author

richvdh commented Mar 28, 2025

See also #4570 which considers the regular (non-crypto) store, IStore.

@dosubot dosubot bot added A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Enhancement labels Mar 28, 2025
@richvdh richvdh removed T-Enhancement A-Element-R Issues affecting the port of Element's crypto layer to Rust labels Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

1 participant