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

Consider WASM as a compilation target (not only Blazor) #89

Open
veikkoeeva opened this issue Apr 10, 2022 · 2 comments
Open

Consider WASM as a compilation target (not only Blazor) #89

veikkoeeva opened this issue Apr 10, 2022 · 2 comments

Comments

@veikkoeeva
Copy link
Contributor

veikkoeeva commented Apr 10, 2022

Here Blazor and WASM without Blazor are more important than WASI.

Some other notes

WebCrypto could mean using RSA (or ECDSA). In this case keyAgreement could mean https://datatracker.ietf.org/doc/html/rfc6101#section-6.1.1.

It may be https://w3c.github.io/webappsec/admin/webappsec-charter-2021.html will define Ed25519 (and X25519) support and browsers implement it quickly. It also appears LibSodium can be compiled to WASM.

Explicit notes:

  • There should be possibility, maybe even dynamically selective, to choose either platform or library provided libraries to be used. One scenario: easy testing on some actual platform.
  • Adequate testing of WASM and when using platform specific cryptograhic implementations.

See also publishing wasm files, e.g. at https://dev.to/azure/exploring-net-webassembly-with-wasi-and-wasmtime-41l5.

@veikkoeeva veikkoeeva changed the title Consider both Blazor and WASM as a compilation targets Consider WASM as a compilation target (not only Blazor) Apr 15, 2022
@veikkoeeva
Copy link
Contributor Author

Newest instructions to compile to browser and non-browser WASM are at https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-rc-1/.

@veikkoeeva
Copy link
Contributor Author

A blog post regarding the feature included in .NET 7: https://devblogs.microsoft.com/dotnet/dotnet-7-wasm/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant