Error algorithm 'aesgcm' is not supported on this platform
If the dotnet program of AES GCM is used, an error will be reported in MacOS
Aesgcm is a very popular symmetric encryption algorithm, so I was surprised by this error. At first, I thought it was the problem of dotnet core adapting Apple silicon. After consulting the document, I found that the original MacOS had this adaptation error. Mac’s security policy does not allow third-party programs to call the system’s encryption interface, so only third-party encryption libraries can be used. I really want to spray Microsoft here. Since it can’t be used, give me a solution. Why don’t I copy and paste it. Just earlier, I encountered the OpenSSL configuration problem when solving dotnet5 under Apple silicon. Pass in the Lib path of OpenSSL arm. The problem is solved. The following is the latest version I use. You can modify the corresponding path of other versions
Add running environment: dyld_LIBRARY_PATH=/opt/homebrew/opt/openssl@3/lib
Similar Posts:
- Git clone fatal: protocol ‘https’ is not supported
- Jschexception: the way to solve the problem of algorithm negotiation failure
- [Solved] Git Clone Error: fatal: protocol ‘https’ is not supported
- fatal error: ‘openssl/conf.h’ file not found [How to Solve]
- [Solved] ssh com.jcraft.jsch.JSchException: Algorithm negotiation fail
- AS Import Project Error: Plugin with id ‘com.android.application’ not found.
- How to Solve Flash Download failed – “Cortex-M3”
- [Solved] gradle sync Error: “PKIX path building failed” and “unable to find valid certification path to requested target”
- Python: How to Brute Force Crack Zip Password with Batch Dictionary
- VScode Add Startup Project Files Error: Could not execute because the application was not found or a compatible .NET SDK is not installed