-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Clean up Windows 7 specific logic in Cryptographic features #71075
Comments
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones Issue DetailsSince Windows 7 and 8.1 will not be supported soon, there are a number of places in S.S.Cryptography where we have Windows-version specific logic for 7 and 8. A few off the top of my head:
|
I was thinking the same when I saw the announcement. Marking it up-for-grabs, if no one else is interested, I will do it at a later time. Windows Server 2012 R2 will still be supported under ESUs, so the Windows 8-specific logic should not be removed. |
Likely worth a separate pass at some point through the whole tree looking for Windows 7 specific code that can be removed. |
I updated the link in your issue @vcsjones. The cross-issue linking doesn't work (where the link shows on on the other side) on locked issues, so I used the dotnet/core issue instead. I never realized that before. |
According to dotnet/core#7556 (comment), this should be put on hold and revisited with .NET 8. |
This currently has a milestone of "Future". Nothing will be done until a final decision has been made for either .NET 8 or any other timeline if it gets adjusted again in the future. |
Closing this out since it will be unactionable for the foreseeable future. |
Since Windows 7 and 8.0 will not be supported soon, there are a number of places in S.S.Cryptography where we have Windows-version specific logic for 7 and 8.
A few off the top of my head:
The Windows PBKDF2 one-shots have logic for Windows 7 using
BCryptDeriveKeyPBKDF2
instead ofBCryptKeyDerivation
runtime/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/Pbkdf2Implementation.Windows.cs
Line 19 in 99e58d5
Windows 7 only supports CFB8 for 3DES and AES. Not block-size aligned CFB like AES-CFB128 and 3DES-CFB64. The tests themselves could be made unconditional.
There may be areas to clean up around supported EC curves. Windows 10+ supports explicit and brainpool curves.
Hashing handles cases of non-reusable instances on Windows 7 in CNG:
runtime/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/HashProviderCng.cs
Line 38 in 0f149b7
The text was updated successfully, but these errors were encountered: