Files
freeipa/ipaserver/plugins
Rob Crittenden 48a3f4af46 Don't log host passwords when they are set/modified
The host password was defined as a Str type so would be
logged in cleartext in the Apache log.

A new class, HostPassword, was defined to only override
safe_value() so it always returns an obfuscated value.

The Password class cannot be used because it has special treatment
in the frontend to manage prompting and specifically doesn't
allow a value to be passed into it. This breaks backwards
compatibility with older clients. Since this class is derived
from Str old clients treat it as a plain string value.

This also removes the search option from passwords.

https://pagure.io/freeipa/issue/8017

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2019-09-19 10:11:52 -04:00
..
2010-12-20 17:19:53 -05:00
2018-10-10 09:56:40 +02:00
2017-03-27 19:08:26 +02:00
2019-06-18 10:36:24 +10:00
2018-01-09 07:53:28 +01:00
2019-03-28 00:21:00 +01:00
2019-03-28 00:21:00 +01:00
2018-07-14 12:04:19 +02:00
2019-05-28 09:55:51 +03:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2018-07-14 12:04:19 +02:00
2018-07-14 12:04:19 +02:00
2019-03-28 17:57:58 +01:00
2017-09-08 15:42:07 +02:00
2019-03-28 00:21:00 +01:00