Skip to content

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

@bwinchester

Description

@bwinchester

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions