[release/9.0-staging] Ensure proper cleanup of key files when not persisting them by github-actions[bot] · Pull Request #109844 · dotnet/runtime

added 3 commits

November 14, 2024 19:57
Code inspection suggested that keys imported into the CNG MachineKey store
from PFXImportCertStore were not getting properly cleaned up.  This change
adds tests that prove that supposition, and then fixes the bug so they pass.
* Bump keysize to 2048
  * This caused the tests to be too slow, so reuse 6 random keys for all of them
* Remove the random ordering in machine-or-user for defaultkeyset (try both ways)
* Remove incorrect copy/paste comment
* Remove bad nullable annotation

jeffhandley

@jeffhandley jeffhandley deleted the backport/pr-109731-to-release/9.0-staging branch

November 26, 2024 07:50