Commit e841ac26 authored by segfault's avatar segfault

Store the name of the hash function along with the hashed password (refs: #17135)

... so that we can detect when the hashed password becomes incompatible
with the PAM config (in case that the hash function used by PAM
parent d4b5f808
......@@ -26,6 +26,7 @@ class AdminSetting(object):
write_settings(self.settings_file, {
'TAILS_USER_PASSWORD': pipes.quote(hashed_and_salted_pw),
logging.debug('password written to %s', self.settings_file)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment