13

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?
asdf
  • 131
  • 1
  • 1
  • 3
  • 1
    Check out this question (and answers) - http://raspberrypi.stackexchange.com/questions/2144/where-are-the-wifi-config-settings-stored – clickatwill Aug 15 '16 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 Aug 16 '16 at 16:30

1 Answers1

11

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.

Milliways
  • 59,890
  • 31
  • 101
  • 209