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

Support dotnet v6 and v7 AOT compilation for Native AWS Lambda functions #58

Open
bwinchester opened this issue Jan 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bwinchester
Copy link

Customers are starting to use AWS Lambda native code supported features for dotnet. This involves building AOT and trimmed projects. The fallout of this, is that there are underlying library patterns that just do not support Trimming easily in compilation. IonHash dotnet is using one HashAlgorithm.Create(algorithm);

The System Security Crypto library has been updated to reflect this anti-pattern.
"Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead."

The downside is that the IonHash dotnet library will probably have to create a lookup table of hashes to support being called.

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

No branches or pull requests

1 participant