-
Notifications
You must be signed in to change notification settings - Fork 2
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
mlock
#1
Comments
This could be added here, could you elaborate a little bit more on your use case? What sorts of applications would you expect to use |
For example currently I'm working on implementing OPAQUE to be used on the client through WASM in the browser. This would require holding some secrets that should not leak to swap, for example the user password. More complicated cases could hold encryption keys and the like when the Web Crypto API is not enough or when used in conjunction with it. |
I just saw that it was also mentioned here: WebAssembly/design#1397 (comment). As far as I understand it was only posted as a reference, my intention is also to re-post it here just for reference too.
|
For security purposes it would also be interesting to add
mlock
. I am not versed in the WASM spec and I am not sure if this should be added here or in multi-memory.The main use-case is to protect sensitive data by preventing it from using swap memory.
The text was updated successfully, but these errors were encountered: