[CRIU] [PATCH 0/3] Issue 360: Anonymize image files

Harshavardhan Unnibhavi hvubfoss at gmail.com
Fri Sep 20 11:15:10 MSK 2019


Hi,

This patch series is the first step towards anonymizing image files for
publication. The image files may contain sensitive information that
needs to be removed.

This series has three important changes:

1. Add a new "anonymize" option.
2. Anonymize file path by replacing them with their sha1 hash values.
3. Restore anonymized images containing file paths anonymized.

Best,
Harsha

Harshavardhan Unnibhavi (3):
  crit: Add anonymize option.
  crit: Anonymize file paths in files.img
  criu: Restore anonymized images(file paths)

 criu/config.c             |  5 +++
 criu/cr-restore.c         |  5 +++
 criu/files-reg.c          | 12 +++++--
 criu/files.c              |  4 +--
 criu/include/cr_options.h |  1 +
 criu/include/restorer.h   |  1 +
 criu/pie/restorer.c       |  4 +--
 lib/py/anonymize.py       | 75 +++++++++++++++++++++++++++++++++++++++
 lib/py/cli.py             | 42 ++++++++++++++++++++++
 9 files changed, 143 insertions(+), 6 deletions(-)
 create mode 100644 lib/py/anonymize.py

-- 
2.17.1



More information about the CRIU mailing list