Lumoin / Verifiable

A .NET implementation of decentralized identifiers and verifiable credentials, some associated protocols and cryptographic routines.
Apache License 2.0
34 stars 3 forks source link

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

Open veikkoeeva opened 2 years ago

veikkoeeva commented 2 years ago

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:

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

veikkoeeva commented 2 years ago

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 commented 2 years ago

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