diff options
| author | Martin Basti <mbasti@redhat.com> | 2017-01-31 20:27:11 +0100 |
|---|---|---|
| committer | Jan Cholasta <jcholast@redhat.com> | 2017-02-10 14:03:04 +0100 |
| commit | 69072cb80f8c4b7f6eff0c7cdfe6545fe59ea7b5 (patch) | |
| tree | 01fa8695700478f5f98e3d73e6e1c8c082f6e200 /ipapython | |
| parent | 488d01ced715929d47f6766a63b7d6c597125562 (diff) | |
| download | freeipa-69072cb80f8c4b7f6eff0c7cdfe6545fe59ea7b5.tar.gz freeipa-69072cb80f8c4b7f6eff0c7cdfe6545fe59ea7b5.tar.xz freeipa-69072cb80f8c4b7f6eff0c7cdfe6545fe59ea7b5.zip | |
py3: change_admin_password: use textual mode
Convert function to NamedTemporaryFile with textual mode, because
passwords are text. Using `with` and NamedTemporaryFile gives more
security agains leaking password from tempfiles.
https://fedorahosted.org/freeipa/ticket/4985
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions
