-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM #42010
Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM #42010
Conversation
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @jeffhandley |
ac338f2
to
3723b99
Compare
3723b99
to
c38a6e2
Compare
I think |
@vcsjones Thanks, addressed |
...aries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs
Show resolved
Hide resolved
...aries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/HMACSHA256.cs
Outdated
Show resolved
Hide resolved
My understanding is that MD5 support was removed and won't be supported in Browser. #40486 (comment). |
...y.Cryptography.Algorithms/src/System/Security/Cryptography/AsymmetricKeyExchangeFormatter.cs
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/DSA.cs
Show resolved
Hide resolved
...braries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/HMACSHA1.cs
Show resolved
Hide resolved
Seems that I was confused by the browser api exclusion list containing MD5 type and including it to the build for browser target. |
@bartonjs I'll fix those style issues |
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RC2.cs
Outdated
Show resolved
Hide resolved
…r WASM (dotnet#42010) * Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM * Address the comment regarding IncrementalHash.CreateHMAC * Group System.* usings * Restore the blank lines between the meta-comment and the code for all the HMAC classes * Fix style issues * Mark MD5 class as unsupported on Browser; clean up the api exclusion list and proj file. * Using * Style fix
…hanges (#42267) * Mark System.IO.Pipes Unsupported at assembly level (#41976) Co-authored-by: Mitchell Hwang <[email protected]> * Mark some System.Net.Http APIs as unsupported on browser (#42074) * Mark some System.Net.HttpListener APIs as unsupported on browser (#42063) * Mark some System.Net.HttpListener APIs as unsupported on browser * FIx windows builds * Fix windows builds * Remove browser annotations from the properties with windows-specific setters. * Mark only setter of ExtendedProtectionPolicy * Remove another redundant annotation * Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM (#42010) * Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM * Address the comment regarding IncrementalHash.CreateHMAC * Group System.* usings * Restore the blank lines between the meta-comment and the code for all the HMAC classes * Fix style issues * Mark MD5 class as unsupported on Browser; clean up the api exclusion list and proj file. * Using * Style fix Co-authored-by: Mitchell Hwang <[email protected]> Co-authored-by: Maxim Lipnin <[email protected]>
There are some types from
System.Security.Cryptography.Algorithms
which are supported on Browser:Others throw PNSE and can be marked as unsupported.
Part of #41087