Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

tls: Securely clear memory from private key material #460

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

Lastique
Copy link
Contributor

This ensures that sensitive data is not left on the stack.

src/tls/openssl/tls.c Outdated Show resolved Hide resolved
@Lastique Lastique force-pushed the feature/secure_clear_memory branch 2 times, most recently from 63bbb54 to bd2e82d Compare July 27, 2022 11:14
src/mem/secure.c Outdated Show resolved Hide resolved
Lastique added 2 commits July 27, 2022 19:46
The function can be used to securely clear a block of memory without
compiler optimizing away this call.
This ensures that sensitive data is not left on the stack.
@Lastique Lastique force-pushed the feature/secure_clear_memory branch from bd2e82d to 9d370c4 Compare July 27, 2022 16:47
@sreimers sreimers merged commit 7d990ea into baresip:main Jul 27, 2022
@Lastique Lastique deleted the feature/secure_clear_memory branch July 27, 2022 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants