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

Feature request: Worker Keystore #393

Open
neekolas opened this issue Jun 5, 2023 · 0 comments
Open

Feature request: Worker Keystore #393

neekolas opened this issue Jun 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@neekolas
Copy link
Contributor

neekolas commented Jun 5, 2023

Is your feature request related to a problem?

Having the Keystore live in the main thread allows for CPU-intensive operations to block the application, and makes it easier for attackers to exfiltrate sensitive materials.

A Keystore implementation that was run in a Service Worker would be more performant and secure by moving all cryptographic operations into a separate OS thread.

Describe the solution to the problem

Create a KeystoreProvider and Keystore implementation that proxies calls between the Client (main thread) and the Keystore (service worker). Requests and responses can be serialized with Protobuf.

Describe the uses cases for the feature

Developers should be able to opt-in to this feature to achieve greater performance and security. Will be available in browsers only

Additional details

No response

@neekolas neekolas added the enhancement New feature or request label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant