69072cb py3: change_admin_password: use textual mode

1 file Authored by mbasti 2 years ago , Committed by jcholast 2 years ago ,
    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>