On Tue, Feb 02, 2021 at 05:55:44PM +0100, Peter Krempa wrote:
The module will provide functions for disposing secrets stored in
memory.
Note that for now it's implemented using memset, which is not really
secure.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libvirt_private.syms | 4 ++++
src/util/meson.build | 1 +
src/util/virsecureerase.c | 44 +++++++++++++++++++++++++++++++++++++++
src/util/virsecureerase.h | 25 ++++++++++++++++++++++
4 files changed, 74 insertions(+)
create mode 100644 src/util/virsecureerase.c
create mode 100644 src/util/virsecureerase.h
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|