rgerganov / py-air-control

Command line app for controlling Philips air purifiers
MIT License
264 stars 53 forks source link

Use cryptographic random generator #10

Closed L-Henke closed 5 years ago

L-Henke commented 5 years ago

Although security shouldn't really be a big issue in the communication air purifiiers, it hurts to see the usage of a non cryptographic random generator instead of a cryptographic secure random generator.

rgerganov commented 5 years ago

The secrets module is introduced in Python 3.6 and I want to support Python 3.4 and Python 3.5. I also don't think that using secure random is important here.