diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-04-14 12:21:19 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2019-08-17 04:26:35 +0200 |
commit | 919a93cd4b123f3757ce1ae454ed622019d1d02c (patch) | |
tree | 3ef401bec279fde2655aa86b72fd72d4919a3d69 /loolwsd.xml.in | |
parent | 226c2fe71c53f4c8e460bf13a30870aaa0ea7581 (diff) |
wsd: improved anonymization algorithm
Better hashing algorithm based on FNV-1a.
Adds support for salting the hash, and
for providing salt via configuration.
More unit-tests added, and better formatting.
Change-Id: I2be42675d0cdbaa73c3d7faed99e07631a9c20fc
Reviewed-on: https://gerrit.libreoffice.org/70034
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/71091
Diffstat (limited to 'loolwsd.xml.in')
-rw-r--r-- | loolwsd.xml.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loolwsd.xml.in b/loolwsd.xml.in index d9b6cf922..8475a23d3 100644 --- a/loolwsd.xml.in +++ b/loolwsd.xml.in @@ -53,7 +53,8 @@ <property name="flush" desc="Enable/disable flushing after logging each line. May harm performance. Note that without flushing after each line, the log lines from the different processes will not appear in chronological order.">false</property> </file> <anonymize> - <anonymize_user_data type="bool" desc="Enable to anonymize/obfuscate of user data in logs. If default is true, it was forced at compile-time and cannot be disabled." default="@LOOLWSD_ANONYMIZE_USER_DATA@">@LOOLWSD_ANONYMIZE_USER_DATA@</anonymize_user_data> + <anonymize_user_data type="bool" desc="Enable to anonymize/obfuscate of user-data in logs. If default is true, it was forced at compile-time and cannot be disabled." default="@LOOLWSD_ANONYMIZE_USER_DATA@">@LOOLWSD_ANONYMIZE_USER_DATA@</anonymize_user_data> + <anonymization_salt type="uint" desc="The salt used to anonymize/obfuscate user-data in logs. Use a secret 64-bit random number." default="82589933">82589933</anonymization_salt> </anonymize> </logging> |