vtprotobuf icon indicating copy to clipboard operation
vtprotobuf copied to clipboard

New extension: scrub

Open paralin opened this issue 2 years ago • 2 comments

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.

paralin avatar Dec 21 '22 01:12 paralin

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!

vmg avatar Jan 27 '23 11:01 vmg

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

paralin avatar Jan 27 '23 15:01 paralin