Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement memory zeroization before dropping private key #186

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

sgoll
Copy link
Contributor

@sgoll sgoll commented Dec 16, 2024

Description

This makes sure that we zeroize the memory held by PrivateKey to not leak the data therein when we no longer own that memory region.

@sgoll sgoll force-pushed the zeroize-private-key branch 3 times, most recently from 652f4d5 to cd21c91 Compare December 16, 2024 12:09
@sgoll sgoll force-pushed the zeroize-private-key branch from cd21c91 to ac49d7f Compare December 16, 2024 12:11
@sgoll sgoll requested a review from uklotzde December 16, 2024 12:17
src/ua/data_types/byte_string.rs Show resolved Hide resolved
@uklotzde uklotzde merged commit 80e849f into HMIProject:main Dec 16, 2024
23 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants