mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Store saved wifi password hashed
Does have the consequence that if the user modifies the SSID, they will also need to enter the password again, as PBKDF2 scheme hashes SSID together with password. Closes #344
This commit is contained in:
parent
c1234d2ea2
commit
eb011bb049
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ Popup {
|
|||
if (chkWifiSSIDHidden.checked) {
|
||||
settings.wifiSSIDHidden = true
|
||||
}
|
||||
settings.wifiPassword = fieldWifiPassword.text
|
||||
settings.wifiPassword = fieldWifiPassword.text.length == 64 ? fieldWifiPassword.text : imageWriter.pbkdf2(fieldWifiPassword.text, fieldWifiSSID.text)
|
||||
settings.wifiCountry = fieldWifiCountry.editText
|
||||
}
|
||||
if (chkLocale.checked) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue