# How to encrypt wifi password in octopi wifi config file

I recently changed the password of my wifi and updated the file in the /boot folder of the OctoPrint's OS running on my raspberry pi.

Yet, it is now in plain text and I would like to avoid storing it that way.

What can I do to make the file more secure?

the automatic configuration from the RaspberryPi imager had generated an encrypted versionoof the password. But I'm not going to flash everything again, so that's not an option.

Thanks.

• @Myoch: "Encoded" means stored with a particular convention for how the data is represented and to be interpreted. For example UTF-8 is an encoding of Unicode text not to obscure it but to ensure that senders and receipients agree on a convention for how to communicate. In the case of encoding of the password, I'm pretty sure that reading the docs for wpa_supplicant will tell you how it's encoded; if not the docs, surely reading the source code would. So it's unrealistic to expect someone not to be able to find out how to interpret it. Mar 13 at 14:21