You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crypto interop needs to be consolidated under src\Common\src\Interop\ #26541
area-System.SecurityenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors
There is duplication we really want to avoid. For example, CertNameToStr is used by both System.Security.Cryptography.X509Certificates and by System.Security.Cryptography.Pkcs, and they both contain their own copies of DllImports and higher-level helpers on top of them.
@stephentoub Hey, I'd like to start progress on this, seems like a good start for contributing 😄 I saw there was quite a lot of work to do, I was thinking I could split it in small PRs with each 1 to a few interop methods consolidated. It would reduce the scope, lead to faster progress and make it easier to review. Would that make sense or do you want 1 PR to do all of it?
A current scan for LibraryImport or DllImport in the cryptography projects shows nothing outside of src\Common\src\Interop (for product code, tests have a couple)
area-System.SecurityenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors
Activity
adamgauthier commentedon Jul 24, 2018
@stephentoub Hey, I'd like to start progress on this, seems like a good start for contributing 😄 I saw there was quite a lot of work to do, I was thinking I could split it in small PRs with each 1 to a few interop methods consolidated. It would reduce the scope, lead to faster progress and make it easier to review. Would that make sense or do you want 1 PR to do all of it?
bartonjs commentedon Jul 24, 2018
@louisto Piecemeal is perfectly fine 😄.
louisto commentedon Jul 24, 2018
@louistio 👍
bartonjs commentedon Jul 24, 2018
::hangs his head in shame::
bartonjs commentedon Jul 6, 2022
A current scan for
LibraryImportorDllImportin the cryptography projects shows nothing outside of src\Common\src\Interop (for product code, tests have a couple)