schannel-rs icon indicating copy to clipboard operation
schannel-rs copied to clipboard

PfxImportOptions::import() creates ncrypt key in file system that is not deleted when program exits

Open ironyman opened this issue 1 year ago • 0 comments

The key is created here in one of the child directories in

$env:APPDATA\Microsoft\Crypto\RSA\

when a pkcs12 key is imported and it's not deleted when the program exits.

This test reproduces the behavior

cargo test -- pfx_import

ironyman avatar Nov 27 '23 22:11 ironyman