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

Minimal Secrets Passing #257

Open
cryptoquick opened this issue Jul 8, 2023 · 0 comments · May be fixed by #371
Open

Minimal Secrets Passing #257

cryptoquick opened this issue Jul 8, 2023 · 0 comments · May be fixed by #371
Assignees
Labels
Milestone

Comments

@cryptoquick
Copy link
Member

It'd be better if we weren't constantly passing hashes and private keys and descriptors back and forth between WASM and JS. WASM could just keep the secrets in zeroizable memory, and even the hash could be kept in gloo_storage::SessionStorage. This would make the library stateful, so methods will be needed to check whether it's been authenticated. Perhaps this could be done through a fingerprint method; if no seed fingerprint is returned, then the wallet either can't access descriptors, nor does it have a hash.

@cryptoquick cryptoquick self-assigned this Jul 8, 2023
@cryptoquick cryptoquick added this to the 0.7.0 milestone Jul 19, 2023
@cryptoquick cryptoquick linked a pull request Sep 12, 2023 that will close this issue
4 tasks
@cryptoquick cryptoquick modified the milestones: 0.7.0, 0.7.1 Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant