Skip to content

ZeroMemory for sensetive buffer clear#66577

Open
unsafePtr wants to merge 3 commits intodotnet:mainfrom
unsafePtr:feature/dataprotection-zeromemory
Open

ZeroMemory for sensetive buffer clear#66577
unsafePtr wants to merge 3 commits intodotnet:mainfrom
unsafePtr:feature/dataprotection-zeromemory

Conversation

@unsafePtr
Copy link
Copy Markdown

Description

Routes plaintext-secret buffer clears through a new CryptoUtil.ZeroMemory helper which is using CryptographicOperations.ZeroMemory if available.

Pattern is the same as within dotnet/runtime

@github-actions github-actions Bot added the area-dataprotection Includes: DataProtection label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-dataprotection Includes: DataProtection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant