15

Say I type in my wifi password and press "Remember" or something. It should store it, either as a hash or plain text, in a file somewhere.

  1. Where is that file?
  2. Is it stored as a hash or plain text?
2
  • 1
    Check out this question (and answers) - raspberrypi.stackexchange.com/questions/2144/… Commented Aug 15, 2016 at 23:07
  • If a device is storing a password, without ever needing further input from you, it's stored in plain text. It may be obfuscated, but it won't be worth much in the terms of real security. How could a hashed wifi password possibly be useful for a client node?
    – Jacobm001
    Commented Aug 16, 2016 at 16:30

1 Answer 1

13

If you are using normal settings on Raspbian it will be in /etc/wpa_supplicant/wpa_supplicant.conf. It is stored in plain text, but only root can see it - you will need sudo to access the file.

See How do I set up networking/WiFi/Static IP for more detail.

1
  • Fresh install of rasberrian, new regular user can view the file without sudo via terminal
    – jtlindsey
    Commented Mar 4, 2021 at 14:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.