[PATCH 2/3] Use SHA-512 for bootloader password encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Miloslav TrmaÄ <mitr@xxxxxxxxxx>

... when the password is configured in kickstart unencrypted or set in the GUI.

Related: rhbz#554874
---
 pyanaconda/booty/x86.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/booty/x86.py b/pyanaconda/booty/x86.py
index defd1fa..224e0bf 100644
--- a/pyanaconda/booty/x86.py
+++ b/pyanaconda/booty/x86.py
@@ -25,8 +25,8 @@ class x86BootloaderInfo(efiBootloaderInfo):
             self.password = val
             self.pure = None
         else:
-            salt = "$1$"
-            saltLen = 8
+            salt = "$6$"
+            saltLen = 16
 
             saltchars = string.letters + string.digits + './'
             for i in range(saltLen):
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux