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

New extension: scrub #71

Open
paralin opened this issue Dec 21, 2022 · 2 comments
Open

New extension: scrub #71

paralin opened this issue Dec 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@paralin
Copy link

paralin commented Dec 21, 2022

Proposal: new extension called scrub which adds a function Scrub() to messages.

Similar to Reset(), except it recursively overwrites all buffers & fields in the message with zeros.

@vmg
Copy link
Member

vmg commented Jan 27, 2023

Can you elaborate on why would you find this useful? I'm not opposed to it in principle, but I can't think of an use case off the top of my head!

@paralin
Copy link
Author

paralin commented Jan 27, 2023

If the Protobuf messages contain something sensitive you want to clear just after processing so that the value isn't left in the heap

@nockty nockty added the enhancement New feature or request label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants