This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Security
#1
I noticed that the network configuration tool puts an unhased password for the Wifi network in the wpa_supplicant.conf file

I think that it is better to use an hashed psk. The syntax is easy: the hashed password does not have "quotes".

The Python code to calculate the hashed psk should be:

import hashlib, binascii
def wpa_psk(ssid, password):
    dk = hashlib.pbkdf2_hmac('sha1', str.encode(password), str.encode(ssid), 4096, 32)
    return (binascii.hexlify(dk))

Sorry but I was not able to find in OpenPlotter GitHub sources the code to modify and to pull a request...
Therefore I use a Feature Request!

Thanks for your attention
Reply


Messages In This Thread
Security - by meo - 2023-11-06, 12:51 AM
RE: Security - by Sailoog - 2023-11-06, 11:43 AM
RE: Security - by meo - 2023-11-06, 12:20 PM
RE: Security - by baltika_no_9 - 2023-11-06, 03:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)