Skip to content

[FR] WIFI_SSID and WIFI_PWD etc. should be moved to e.g. Configuration_secrets.h #16588

@felixstorm

Description

@felixstorm

Description

As WiFi on the ESP32 now gets more and more functional, it feels a bit unpleasant to put my WiFi credentials inside Configuration_adv.h and then to accidentally push them to my public Marlin repo on GitHub.

My suggestion would be to put them inside a separate config file which only gets included if needed (so the file would not even have to exist for users not using WiFi etc.). Users could then either ignore it completely in Git (or mark as skip-worktree) to not accidentally publish their secrets. I did not choose the name Configuration_WiFi.h but Configuration_secrets.h as I already saw that there might be more secrets to come, e.g. website authentication credentials (luc-github/ESP3DLib@8fc6354) etc.

I will be happy to provide a corresponding PR, I just wanted to check the general opinion on this first before investing more time on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions