Skip to content

wifi pwd stored in plaintext #4911

Closed
Closed

Description

@Mayank-1234-cmd

Describe the bug

When I connect to WiFi, the WiFi password is stored in /etc/wpa_supplicant/wpa_supplicant.conf which is a security vulnerability that should be fixed.
If you need this:

Command used to encrypt obfuscate password is
wpa_supplicant [name] [password] (If not working try `wpa_supplicant essid [name] key [password])
Also if using wpa_supplicant make sure to strip line 3, it's the password stored in plaintext (but commented).

Steps to reproduce the behaviour

  • Connect to WiFi
  • Read the file /etc/wpa_supplicant/wpa_supplicant.conf
  • It's stored in plaintext

Device (s)

Raspberry Pi 4 Mod. B

System

Logs

No response

Additional context

No response

Activity

  1. pelwell commented on Feb 28, 2022

    @pelwell
    Contributor

    Do you mean wpa_passphrase? wpa_supplicant is the daemon itself.

    Using the obfuscated password is only a help against a lazy intruder - I just copied the obfuscated string into the WLAN password box on my phone and was accepted onto the network.

  2. Mayank-1234-cmd commented on Feb 28, 2022

    @Mayank-1234-cmd
    Author

    pelwell: I meant wpa_passphrase (and you are right, that doesn't help)
    andrum99: agrees

  3. pelwell commented on Mar 14, 2022

    @pelwell
    Contributor

    This is not the right repo, and not the right solution. We may switch to using Network Manager in the future, but doing so will invalidate a lot of tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions