Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.0-staging] Ensure proper cleanup of key files when not per…
…sisting them (#109844) * Ensure proper cleanup of key files when not persisting them 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. * Support systems that have never had CAPI-DSS * Review feedback * 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 --------- Co-authored-by: Jeremy Barton <[email protected]>
- Loading branch information