mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 03:08:21 -07:00
e0396764223377c0bbd0f6bb2a2503bb7a52e0a3
Replace random.choice() with secrets.choice() for generating the fallback hotspot password. The random module uses Mersenne Twister which is not cryptographically secure. The secrets module is the correct choice for credential generation. The file already imports secrets for other credential generation.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
262 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
