Skip to content

Don't delete private keys detected from SerializedCert imports#33603

Merged
bartonjs merged 2 commits intodotnet:masterfrom
bartonjs:serializedcert_deletes_keys
Mar 16, 2020
Merged

Don't delete private keys detected from SerializedCert imports#33603
bartonjs merged 2 commits intodotnet:masterfrom
bartonjs:serializedcert_deletes_keys

Conversation

@bartonjs
Copy link
Member

Collection imports didn't have the problem, they already only set the delete marker for PFX-type imports.

Fixes #33543.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing a single SerializedCert with CERT_KEY_PROV_INFO_PROP_ID attempts to delete the key on Dispose.

3 participants