Repository navigation
Open
Labels
Cost:LWork that requires one engineer up to 4 weeksPriority:2Work that is important, but not critical for the releasearea-System.SecurityenhancementProduct code improvement that does NOT require public API changes/additionsos-linuxLinux OS (any supported distro)
Milestone
Description
In continuation to PowerShell/PowerShell#14410
PowerShell-7.0.3$ grep -Rns "ERR_put_error" ./
Binary file ./src/powershell-unix/bin/Linux/netcoreapp3.1/linux-x64/System.Security.Cryptography.Native.OpenSsl.a matches
Binary file ./src/powershell-unix/bin/Linux/netcoreapp3.1/linux-x64/System.Security.Cryptography.Native.OpenSsl.so matches
Binary file ./bin/System.Security.Cryptography.Native.OpenSsl.a matches
Binary file ./bin/System.Security.Cryptography.Native.OpenSsl.so matches
System.Security.Cryptography.Native.OpenSsl.so contains deprecated APIs of Openssl 3.0
Reference: https://www.openssl.org/news/changelog.html
This bug is created for support of openssl 3.0 in dotnet
Project Plan (updated as data is known, checkmarks mean done locally, not necessarily merged)
- Convert RSA shim from RSA* to EVP_PKEY*
- Keygen
- Sign
- Verify
- Encrypt
- Decrypt
- Import
- Export
- Rebuild the interop exception model.
- Each operation should reset the error queue, and we want to throw the first error, not the last one.
- Convert ECDSA shim to fully EVP_PKEY*
- Convert ECDH shim to fully EVP_PKEY*
- Convert DSA shim to fully EVP_PKEY*
- Write translation table for X509ChainStatusCodes (some #define values changed in OpenSSL 3.0)
Reacted by Hannes Hayashi and Michael Render
Metadata
Metadata
Assignees
Labels
Cost:LWork that requires one engineer up to 4 weeksPriority:2Work that is important, but not critical for the releasearea-System.SecurityenhancementProduct code improvement that does NOT require public API changes/additionsos-linuxLinux OS (any supported distro)
Activity
bartonjs commentedon Jan 5, 2021
I thought we already had an issue tracking this, but apparently it was just on my implicit TODO. So now this is the issue tracking working with OpenSSL 3. (Which we may have to service... at least, I think we did for 1.0/1.1 hybridization)
jeffhandley commentedon Jan 13, 2021
@bartonjs I just found that we simply had a note card on our project board for it (hence you thinking we had something tracking it). I've updated the board to use this issue instead of the note card.
omajid commentedon Jan 19, 2021
Fedora 34, tracked via dotnet/core#5851, will have OpenSSL 3.0: https://fedoraproject.org/wiki/Changes/OpenSSL3.0, though there are plans for a OpenSSL 1.1 package for compatibility.
30 remaining items
satya-rajesh commentedon Jul 16, 2021
Thanks for the update. When will be the preview 7, i didnt find it yet at https://dotnet.microsoft.com/download/dotnet/6.0 ?
bartonjs commentedon Jul 16, 2021
Preview 7 will come out in about a month. (Preview 6 came out two days ago)
bartonjs commentedon Jul 19, 2021
Moving the issue to 7.0 to track that we still have some plumbing/infrastructure work to do to get off of deprecated APIs. While doing the
DSA*=>EVP_PKEY*change the tests revealed that we probably want to clean up how we interact with the error queue (#55973), which is too concerning to do with the limited available time in 6.0.6.0 will still ship with OSSL3 support, it's just not as clean as I'd like.
adamijak commentedon Mar 31, 2022
My Razor server fails to start on Fedora 36 and VsCode, with error message
Cannot get required symbol EVP_MD_size from libsslI should have openssl1.1 installed, is there any way I can fix it?
omajid commentedon Mar 31, 2022
Hey, @adamijak do you have a set of steps I can follow to reproduce the issue you are seeing?
I ran the following steps and I couldn't see a problem:
Are you seeing errors running via
dotnet run? Or is it the vscode instance the one showing errors? Does the error say anything about OmniSharp? Can you share the error messages (preferably the complete set of logs and/or stack trace) here?adamijak commentedon Mar 31, 2022
Hi I opened separate issue #67375 for this
jeffhandley commentedon Mar 16, 2023
@bartonjs Do you have any objections to us punting this out of .NET 8 (into Future for the time-being), and revisiting the remaining work as a candidate for .NET 9 planning?
JAicewizard commentedon Oct 21, 2025
Note that openssl 1.1 is EOL at the moment